gui/dialog.py
def save_file(title="Save",  directory='', filename='', 
              wildcard='All Files (*.*)|*.*', overwrite=False, parent=None):
    "Show a dialog to select file to save, return path(s) if accepted"
    style = wx.SAVE 
    if not overwrite:
        style |= wx.OVERWRITE_PROMPT
    result = dialogs.fileDialog(parent, title, directory, filename, wildcard, 
                                style)
    return result.paths
def save_file(title="Save",  directory='', filename='', 
              wildcard='All Files (*.*)|*.*', overwrite=False, parent=None):
    "Show a dialog to select file to save, return path(s) if accepted"
    style = wx.SAVE 
    if not overwrite:
        style |= wx.OVERWRITE_PROMPT
    result = dialogs.fileDialog(parent, title, directory, filename, wildcard, 
                                style)
    return result.paths
Show a dialog to select file to save, return path(s) if accepted