mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-03-18 06:30:08 +01:00
9 lines
206 B
Python
9 lines
206 B
Python
|
|
filename = wx.FileSelector("Choose a file to open")
|
|
|
|
if filename.strip():
|
|
# work with the file
|
|
print filename
|
|
|
|
# else: cancelled by user
|