[IPython-user] IPython.ipapi.launch_new_instance tries to execute all files in sys.argv!
Thu Jul 23 11:53:30 CDT 2009
On 2009-07-23 00:58, Ville M. Vainio wrote:
> On Thu, Jul 23, 2009 at 5:57 AM, Matthew Wilson<email@example.com> wrote:
>> 1. Is IPython.ipapi.launch_new_instance the right way to start an IPython
> There are many "right" ways to do it, launch_new_instance is one. You
> need to clean up sys.argv to however you want ipython to see it before
launch_new_instance() and the functions it calls should take an argv argument
that only defaults to sys.argv. Library functions should never inspect sys.argv
without a way for the caller to override it.
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco
More information about the IPython-user