file open dialog from within PythonWin

A

aine_canby

Hi,

I want to open a file seach dialog from within my python script which
I run from within PythonWin. I also have the wxPython package
installed.

How might I do this?

Thanks,

Aine
 
K

kyosohma

Hi,

I want to open a file seach dialog from within my python script which
I run from within PythonWin. I also have the wxPython package
installed.

How might I do this?

Thanks,

Aine

Aine,

I recommend downloading the wxPython Demo as it shows how to do most
common tasks and a lot of other cool things as well. It includes code
for common dialogs, such as the FileDialog, which is what I think you
want. The man page for this widget is below:

http://www.wxpython.org/docs/api/wx.FileDialog-class.html

You can find the Demo here: http://www.wxpython.org/download.php

Mike
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,599
Members
45,175
Latest member
Vinay Kumar_ Nevatia
Top