Replace the default flask shell command with a similar one running PTPython.
Inspired by flask-shell-ipython by @ei-grad.
flask-shell-ptpython is on PyPI, so all you have to do is:
$ pip install flask-shell-ptpythonflask-shell-ptpython hooks itself into Flask through an entry point, so all
you have to do is:
$ flask shellIf you prefer BPython you can use flask-shell-bpython, while if you prefer IPython you can use flask-shell-ipython.
Jacopo Notarstefano (@Jaconotar)
MIT