pycharm如何把console中的运行结果保存到文件中
在pycharm的Edit configuration中:“save console output to file”. see also: https://www.jetbrains.com/help/idea/setting-log-options.html?_ga=2.133841998.1967815417.1682132280-1310837995.1682132280&_gl=1*1c48fs9*_ga*MTMxMDgzNzk5NS4xNjgyMTMyMjgw*_ga_9J976DJZ68*MTY4MjEzMjI3OS4xLjEuMTY4MjEzMjUwNy4wLjAuMA..#save-console-output-to-a-file