[IPython-user] IPython.ipapi.launch_new_instance tries to execute all files in sys.argv!

Ville M. Vainio vivainio@gmail....
Wed Jul 29 15:10:09 CDT 2009

On Wed, Jul 29, 2009 at 10:35 PM, Matthew Wilson<matt@tplus1.com> wrote:

> I don't see a way to call IPython.ipapi.launch_new_instance and specify
> that argv argument.

That's because there is none - as you can see make_session is a very
thin wrapper for IPython.shell.start. To be able to pass argv, check
out IPShellEmbed that has explicit support for this (or, for a cleaner
api, wait for IPython.embed()).

Ville M. Vainio

More information about the IPython-user mailing list