Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
シンプルなGUIでhttpを制御したいチェリーピーアプリケーションがあります。問題は、cherrypy ウィンドウと GUI の両方を同時に実行したくないことです。チェリーピー アプリケーション ウィンドウを表示する方法はありますか?
Windows用に書かれているため、おそらく違いがあります
pythonw.exeコンソールpython.exeウィンドウなしで起動します。
pythonw.exe
python.exe
py2exe を使用している場合は、コンソールを使用しないようにセットアップ ファイルを変更する必要があります。
from distutils.core import setup import py2exe setup(windows=[{"script":"hello.py"}])