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

Fernando Perez fperez.net@gmail....
Thu Oct 25 01:33:27 CDT 2012

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:


More information about the IPython-User mailing list