[IPython-user] pass command flags to script
Mon Nov 24 11:16:24 CST 2008
I would like to pass command args to a script and after the script
runs, drop into an ipython shell. Something like
> ipython 'agg_oo.py --verbose-helpful'
Which does not work. Is such a thing possible?
If not, what is the proper incantation to add at the end of the script
to open an interactive ipython shell with the namespace of the script?
from IPython.Shell import IPShellEmbed
ipshell = IPShellEmbed()
but it did not like the command args either :-(
More information about the IPython-user