[IPython-user] Starting wx python apps

Brian Granger ellisonbg.net@gmail....
Mon Jul 27 11:45:58 CDT 2009


Currently files are run before IPython has finished setting itself up.  This
is a known problem and there is no simple fix that I know of, but we are
working on this.  This will *hopefully* be fixed in 0.11 (we are about to
release 0.10.

Cheers,

Brian

On Fri, Jun 26, 2009 at 11:37 AM, Dennis Muhlestein
<djmuhlestein@gmail.com>wrote:

> I would like to use ipython with a wx application.
>
> If I start iPython with -wthread, then, in the shell, I load the script
> that loads my application, all seems to work properly.
>
>
> If however, I try to have iPython start my application, iPython doesn't
> drop into the shell until after my script has been run.
>
>  > ipython -wthread test.py
>
> It appears the problem is that test.py is evaluated before the shell
> enters it's mainloop function.
>
> Does anyone know a way to remedy this?
>
> Preferably, I'd like to provide a script that launches my application,
> and if iPython is available, it also drops to an iPython console on the
> command line when the application is run.
>
> Thanks
> -Dennis
> _______________________________________________
> IPython-user mailing list
> IPython-user@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-user/attachments/20090727/55c729e5/attachment.html 


More information about the IPython-user mailing list