Python - I can't see my what my error is because the window disappears immediately

余生颓废 提交于 2019-11-28 14:29:43

Yes, as @shortfellow said, running it from the terminal should work:

python your_file.py

Another tip that helps in Python, if you are having a hard time with errors, is to use iPython for debugging/testing code on the spot. You can give it a try.

http://ipython.org/

You should run it from command window/terminal instead of double clicking on the file.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!