How to make ipython be called directly after the program in pycharm ends

Add this sentence at the end of the program

from IPython import embed; embed()

In this way, you can enter the variable name in the run window to view the variable

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324702852&siteId=291194637