pythonw.exe or python.exe?

前端 未结 6 1471
旧时难觅i
旧时难觅i 2020-11-22 08:36

Long story short: pythonw.exe does nothing, python.exe accepts nothing (which one should I use?)

test.py:

print \"a\"
         


        
6条回答
  •  旧时难觅i
    2020-11-22 08:58

    I was struggling to get this to work for a while. Once you change the extension to .pyw, make sure that you open properties of the file and direct the "open with" path to pythonw.exe.

提交回复
热议问题