1.点击运行栏的这个灰色向下剪头:
2.单击“Edit Configurations”,
3.在出现的窗口上,勾选上:“Show command line afterwards” 或 “run with Python console” (不同版本的选项名不同,但都是同一意思)