[IPython-user] running ipython from command line with pysh profile does not work

Ville Vainio vivainio at gmail.com
Sun Apr 9 06:14:34 CDT 2006


On 4/9/06, Krishna Mohan Gundu <gkmohan at gmail.com> wrote:

> are you saying ipython commands cannot be run as a batch job? or
> rather ipython is not an interpreter?

Actually, they *can* be run as a batch job but it's something a bit
less pretty (an example with current development version):

ipython -c "_ip.runlines(open('test.ipy').read())"

where test.ipy is the batch file.

--
Ville Vainio - vivainio.googlepages.com
vainio.blogspot.com - g[mail | talk]='vivainio'




More information about the IPython-user mailing list