Files
Phoenix/docs/sphinx/rest_substitutions/snippets/python/converted/functions.FileSelector.2.py
2012-04-10 03:16:37 +00:00

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