How to keep a Python script output window open?

前端 未结 23 2810
挽巷
挽巷 2020-11-22 10:54

I have just started with Python. When I execute a python script file on Windows, the output window appears but instantaneously goes away. I need it to stay there so I can an

23条回答
  •  一个人的身影
    2020-11-22 11:04

    You can open PowerShell and type "python". After Python has been imported, you can copy paste the source code from your favourite text-editor to run the code.

    The window won't close.

提交回复
热议问题