[IPython-user] Starting wx python apps

Gökhan SEVER gokhansever@gmail....
Fri Jun 26 15:03:14 CDT 2009


On Fri, Jun 26, 2009 at 1:37 PM, 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
>


Hello,

Could you try the attached snippet?

Just do:

"python ipy.py"

Gökhan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-user/attachments/20090626/93f53711/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ipy.py
Type: application/octet-stream
Size: 230 bytes
Desc: not available
Url : http://mail.scipy.org/pipermail/ipython-user/attachments/20090626/93f53711/attachment.obj 


More information about the IPython-user mailing list