PEATDB/Extfile.py
def addFileDialog(self, filerec=None):
        """Do the front-end stuff for adding files to peat"""
        import tkFileDialog
        filename=tkFileDialog.askopenfilename(defaultextension='.*',
                                              initialdir=os.getcwd(),
                                              filetypes=[("All files","*.*")])
        self.newfile = filename
        return filename
Do the front-end stuff for adding files to peat
Do the front-end stuff for adding files to peat
Do the front - end stuff for adding files to peat
def addFileDialog(self, filerec=None):
        import tkFileDialog
        filename=tkFileDialog.askopenfilename(defaultextension='.*',
                                              initialdir=os.getcwd(),
                                              filetypes=[("All files","*.*")])
        self.newfile = filename
        return filename
def addFileDialog ( self , filerec = None ) : import tkFileDialog filename = tkFileDialog . askopenfilename ( defaultextension = '.*' , initialdir = os . getcwd ( ) , filetypes = [ ( "All files" , "*.*" ) ] ) self . newfile = filename return filename
Do the front-end stuff for adding files to peat
Do the front - end stuff for adding files to peat
"""Do the front-end stuff for adding files to peat"""
self
filerec