PyCharm中的Console自动换行 菜单栏-> File -> Settings -> Editor -> General -> Console,选中右侧Use soft wraps in console前的复选框。