如何在Pyinstaller中隐藏python控制台窗口 [英] How to hide the python console window in Pyinstaller

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

问题描述

我使用pyinstaller -F来创建一个要运行的.exe文件. 我希望它作为后台进程运行. 这意味着,如果单击.exe文件,则他只能从过程"中将其关闭. 我希望该程序在后台运行,并且不会被看到. (与现在相反,我看到的是黑色控制台.)

I used pyinstaller -F in order to create one .exe file to run. I would like it to run in as a background process. That means that if one clicks the .exe file, he can only close it from the "PROCESSES". I want the program will run in the background and will not be seen. (As opposed to now, where I see the black console.)

推荐答案

我认为这会对您有所帮助.

I think this will help you.

pyinstaller"filename.filetype" -w -F

pyinstaller "filename.filetype" -w -F

这篇关于如何在Pyinstaller中隐藏python控制台窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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