点击File -> Settings -> Editor -> General -> Console,勾选下图项即可。
IDEA或PyCharm控制台自动换行
原文:https://www.cnblogs.com/wangjiaxi/p/11847464.html