Files
Phoenix/docs/sphinx/rest_substitutions/snippets/python/converted/wx.functions.FileSelector.2.py
2016-05-18 16:38:18 -07: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