How can I start the python console within a program (for easy debugging)?

前端 未结 6 1636
说谎
说谎 2021-02-10 03:52

After years of research programming in Matlab, I miss the way I could pause a program mid-execution and inspect the variables, do plotting, save/modify data, etc. via the intera

6条回答
  •  无人及你
    2021-02-10 04:43

    Here is a better, simpler solution, works in Python 3.8 https://stackoverflow.com/a/1396386/4566456

    Even more powerful if IPython is installed https://stackoverflow.com/a/8152484/4566456

提交回复
热议问题