[IPython-user] Using IPShellEmbed

Frédéric Mantegazza mantegazza at ill.fr
Tue Oct 10 04:26:16 CDT 2006


Hi,

I would like to use IPShellEmbed to execute a batch file in my app, and I 
would like to give it a context.

In the __call__ method, it is possible to give local and global context, but 
I don't want to run it as interactive: I directly call IP.runlines().

How can I give a context, in this case?

Thanks,

-- 
   Frédéric


More information about the IPython-user mailing list