如何在Windows上运行的PyQt应用程序中隐藏控制台窗口? [英] How can I hide the console window in a PyQt app running on Windows?

查看:660
本文介绍了如何在Windows上运行的PyQt应用程序中隐藏控制台窗口?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当然可以吗?我一直在通过PyQt教程和文档,但找不到它的答案。



感谢PEZ的回答 - - - - - - - - - - - - - - - - 更多详细信息,包括在 .pyw 扩展。 html?page = 2rel =nofollow noreferrer> Win32的Python编程第20章

解决方案

您应该能够使用pythonw.exe运行您的应用程序。


Surely this is possible? I have been hunting through PyQt tutorials and documentation but cannot find the answer to it. Probably I just need to phrase my search query differently.

[Edit]

Thanks PEZ for the answer - more details including use of the .pyw extension in Python Programming on Win32 chapter 20

解决方案

I think you should be able to run your app with pythonw.exe.

这篇关于如何在Windows上运行的PyQt应用程序中隐藏控制台窗口?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆