ipython.py
18 lines
| 606 B
| text/x-python
|
PythonLexer
vivainio
|
r103 | #!/usr/bin/env python | ||
# -*- coding: utf-8 -*- | ||||
"""IPython -- An enhanced Interactive Python | ||||
The actual ipython script to be installed with 'python setup.py install' is | ||||
in './scripts' directory. This file is here (ipython source root directory) | ||||
to facilitate non-root 'zero-installation' (just copy the source tree | ||||
somewhere and run ipython.py) and development. """ | ||||
fptest
|
r414 | # Start by cleaning up sys.path: Python automatically inserts the script's | ||
# base directory into sys.path, at the front. This can lead to unpleasant | ||||
# surprises. | ||||
import sys | ||||
sys.path.pop(0) | ||||
vivainio
|
r103 | import IPython | ||
IPython.Shell.start().mainloop() | ||||