(self)
Provide initial start directory

        Return either the current file's path, the last directory or home.
Provide initial start directory
Provide initial start directory
def initial_start_dir(self):
        """
        Provide initial start directory

        Return either the current file's path, the last directory or home.
        """
        if self.filename and os.path.exists(os.path.split(self.filename)[0]):
            return self.filename
        else:
            return self.last_dir or _userhome
def initial_start_dir ( self ) : if self . filename and os . path . exists ( os . path . split ( self . filename ) [ 0 ] ) : return self . filename else : return self . last_dir or _userhome