.pyw and pythonw does not run under Windows 7

后端 未结 7 1404
猫巷女王i
猫巷女王i 2020-12-13 19:46

Running a simple .py or .pyw python file causes python.exe to show up under Task Manager.

python myApp.py
python myApp.pyw

How

7条回答
  •  遥遥无期
    2020-12-13 19:57

    Im not sure I understand your problem but I think this is what you need to know

    you need to right click on a py or pyw file and select open with ... find python.exe (probably C:\Python27\python.exe) .. check the box that says always open ... now you can just double click it if you want to run it

    (usually the installer sets this up for you ...)

提交回复
热议问题