Files
Phoenix/docs/sphinx/rest_substitutions/snippets/python/converted/functions.FileSelector.2.py
2011-12-30 19:17:09 +00:00

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