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

Ville M. Vainio vivainio@gmail....
Fri Feb 1 11:27:18 CST 2008


And replying to list as well:

On Feb 1, 2008 6:50 PM, Hans Meine <hans_meine@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