[IPython-User] Open Qt File Dialog in IPython Notebook

Jonno jonnojohnson@gmail....
Fri Mar 15 09:22:43 CDT 2013

Never mind, figured it out after a good night's sleep:

*from PyQt4 import QtGui*
*if not app:*
*    app = QtGui.QApplication(sys.argv)*
*file_path = QtGui.QFileDialog.getOpenFileName()*

On Fri, Mar 15, 2013 at 1:13 AM, Jonno <jonnojohnson@gmail.com> wrote:

> I'm struggling to get QtGui.QFileDialog.getOpenFileName to work within an
> IPython Notebook.
> Does anyone have a simple example?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-user/attachments/20130315/e684025f/attachment.html 

More information about the IPython-User mailing list