[IPython-user] Still trying to use pysh not-interactively
Sun Mar 21 07:39:54 CDT 2010
I want to use the convenient features of the pysh mode (SLists, executing with !) in a non-interactive script. However I don't figure out how to do so...
ip = IPython.ipapi.get()
executes ls but a is None after wards. Additionally ipython displays its welcome message and exits to it own prompt.
gives an syntax error.
All I want to do is to use the ipython -profile sh in a script. Any way to do that?
More information about the IPython-user