1.点击运行栏的这个灰色向下剪头:
2.单击“Edit Configurations”,
3.在出现的窗口上,勾选上:“Show command line afterwards” 或 “run with Python console” (不同版本的选项名不同,但都是同一意思)
pyCharm中设置查看运行过程中的变量实时情况
原文:https://www.cnblogs.com/chenxi188/p/11661059.html