mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-10 05:47:09 +01:00
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
9 lines
214 B
Python
9 lines
214 B
Python
|
|
filename = wx.FileSelector("Choose a file to open")
|
|
|
|
if filename.strip():
|
|
# work with the file
|
|
print filename
|
|
|
|
# else: cancelled by user
|