Pause in Python

后端 未结 13 1240
臣服心动
臣服心动 2020-12-24 10:59

I am running command-line Python scripts from the Windows taskbar by having a shortcut pointing to the Python interpreter with the actual script as a parameter.

Afte

13条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-24 11:09

    import pdb
    pdb.debug()
    

    This is used to debug the script. Should be useful to break also.

提交回复
热议问题