[IPython-dev] Fwd: Opening files via ipython cmdline args?

Ville M. Vainio vivainio at gmail.com
Fri Feb 1 12:27:18 EST 2008


And replying to list as well:

On Feb 1, 2008 6:50 PM, Hans Meine <hans_meine at gmx.net> wrote:

> AFAICS, direct loading of files from the commandline could be useful for many
> other cases, too (e.g. pytables, image analysis, ...).  Is this possible
> today?

Yes, use -c:

ipython -p figpy -i -c "f = fig.File('contraction.fig')"

--
Ville M. Vainio - vivainio.googlepages.com
blog=360.yahoo.com/villevainio - g[mail | talk]='vivainio'



-- 
Ville M. Vainio - vivainio.googlepages.com
blog=360.yahoo.com/villevainio - g[mail | talk]='vivainio'



More information about the IPython-dev mailing list