This is an example on how to use the wxFileDialog. It allows the user to save or open a file. Setting up a basic dialog is pretty simple.
app = wx.PySimpleApp()
saveDlg= wxFileDialog ( None, style = wxOPEN )
if saveDlg.ShowModal() == wxID_OK:
print 'Selected:', saveDlg.GetPath()
saveDlg.Destroy()
Posted in Code Snippets,Python | Trackback Url








No Responses to “wxPython File Save Dialog”
Trackbacks/Pingbacks
Leave a reply