import wximport osapp = wx.PySimpleApp()wildcard = "Python source (*.py)|*.py|" "Compiled Python (*.pyc)|*.pyc|" "All files (*.*)|*.*"dialog = wx.FileDialog(None, "Choose a file", os.getcwd(), "", wildcard, wx.OPEN)if dialog.ShowModal() == wx.ID_OK: print dialog.GetPath() dialog.Destroy()
Name (required)
email (will not be published) (required)
Website