ipython网站:
https://ipython.readthedocs.io/en/stable/interactive/index.html
之前用pycharm时候遇到过在console里换行的问题感觉可能是一样的解决方案:
![](https://i-blog.csdnimg.cn/blog_migrate/7687c7bfd113f4c23f46cbaa6241a26f.png)
在python中没有的魔法命令:
![](https://i-blog.csdnimg.cn/blog_migrate/67423b5bd091339d9ff07b3fb8ce5cca.png)
需要import modules时可以用到的magic commands:
![](https://i-blog.csdnimg.cn/blog_migrate/04a8113fe7ca1aecb6015106f9b286ca.png)
%autoreload 2
Reload all modules (except those excluded by %aimport ) every time before executing the Python code typed.