##// END OF EJS Templates
All code startup related things are working....
All code startup related things are working. * Implemented 'ipython -c "a=10"' syntax. * Implemented 'ipython foo.ipy' syntax that handles both .py and .ipy. * Implemented -i flag that forces interactive if either of the above two are active. These things simulate how python itself handles these things.

File last commit:

r2058:7e8fc59a
r2253:d0e3ce16
Show More
ipython.py
11 lines | 430 B | text/x-python | PythonLexer
#!/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. """
import IPython.core.shell
IPython.core.shell.start().mainloop()