用运行ipython的类似命令替换默认的“flask shell”命令。
flask-shell-ipython的Python项目详细描述
瓶壳ipython
用运行ipython的类似命令替换默认的flask shell
命令。
用法
只需安装:
pip install flask-shell-ipython
给你:
> flask shell
Python 3.5.1 (default, Mar 3 2016, 09:29:07)
[GCC 5.3.0] on linux
IPython: 5.0.0
App: discharges [debug]
Instance: /home/ei-grad/repos/discharges/instance
In [1]: