(self)
Return dir or file for "save as..."
Return dir or file for "save as..."
Return dir or file for save as ...
def open_file(self):
        '''Return dir or file for "save as..."'''

        if self.mode_new is True:
            if self.kdb_file is not None:
                ret = self.control.cur_dir
                self.control.cur_dir = self.kdb_file
                self.return_flag = True
                return ret
            else:
                self.return_flag = True
                return self.control.cur_dir
def open_file ( self ) : if self . mode_new is True : if self . kdb_file is not None : ret = self . control . cur_dir self . control . cur_dir = self . kdb_file self . return_flag = True return ret else : self . return_flag = True return self . control . cur_dir