PEATDB/Ekin/Ekin_map.py
def choose_savedir(self):
        """Get a directory to save to"""
        import tkFileDialog, os
        if self.defaultsavedir == None:
            self.defaultsavedir = os.getcwd()
        dirname=tkFileDialog.askdirectory(parent=self.export_win,
                                          initialdir=self.defaultsavedir)
        if not dirname:
            print 'Returning'
            return NoneType

        return dirname
Get a directory to save to
Get a directory to save to
Get a directory to save to
def choose_savedir(self):
        import tkFileDialog, os
        if self.defaultsavedir == None:
            self.defaultsavedir = os.getcwd()
        dirname=tkFileDialog.askdirectory(parent=self.export_win,
                                          initialdir=self.defaultsavedir)
        if not dirname:
            print 'Returning'
            return NoneType
        return dirname
def choose_savedir ( self ) : import tkFileDialog , os if self . defaultsavedir == None : self . defaultsavedir = os . getcwd ( ) dirname = tkFileDialog . askdirectory ( parent = self . export_win , initialdir = self . defaultsavedir ) if not dirname : print 'Returning' return NoneType return dirname
Get a directory to save to
Get a directory to save to
"""Get a directory to save to"""
self