[IPython-user] Running ipython from shell with pylab
Fri May 8 16:59:58 CDT 2009
I would like write a simple script which will be called from a Bash shell,
and initiate an IPython matplotlib enabled session, and will run an external
file as is supplied in command argument within the same session.
A simple demonstration:
1- plot m.py
2- start an Ipython with pylab
3- run the m.py script
4- show figure(s)
5- maintain namespace and stay inside the Ipython
I have written a few lines which doesn't work the way I want it to be as
from sys import argv
ipython = IPython.Shell.start()
ip = IPython.ipapi.get()
for some reason the external file isn't run :(
Could you please help me on this issue?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the IPython-user