def browse(self): fn = bFileDialog.asksaveasfilename(master=self, initialfile=self.file_entry.get(), filetypes=[("Postscript file","*.ps"), ("Encapsulated postscript file","*.eps"), ("All","*")]) if len(fn) > 0: self.file_entry.delete(0, END) self.file_entry.insert(0, fn)
def browse(self): fn = bFileDialog.asksaveasfilename(master=self, initialfile=self.file_entry.get(), filetypes=[("Postscript file","*.ps"), ("Encapsulated postscript file","*.eps"), ("All","*")]) if len(fn) > 0: self.file_entry.delete(0, END) self.file_entry.insert(0, fn)