[IPython-User] How to check that a python script is called from ipython and check if qt is enabled

Eleftherios Garyfallidis garyfallidis@gmail....
Thu Oct 25 04:06:47 CDT 2012


Thank you Fernando. :-)

On Thu, Oct 25, 2012 at 8:33 AM, Fernando Perez <fperez.net@gmail.com>wrote:

> On Wed, Oct 24, 2012 at 8:26 AM, Eleftherios Garyfallidis
> <garyfallidis@gmail.com> wrote:
> > Hmm, I think I can solve my problem in a much easier way. I can create
> first
> > a QtGui.QApplication and if I get a runtime error then I assume that the
> Qt
> > event loop has started from the ipython console otherwise I continue as
> is.
> > Sorry, for the trouble.
>
> this might help too:
> https://github.com/ipython/ipython/blob/master/docs/examples/lib/gui-qt.py
>
> f
> _______________________________________________
> 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/20121025/bc1ed854/attachment.html 


More information about the IPython-User mailing list