def parent_directory(self):
        """Change working directory to parent directory"""
        self.chdir(os.path.join(getcwd_or_home(), os.path.pardir))
def parent_directory ( self ) : self . chdir ( os . path . join ( getcwd_or_home ( ) , os . path . pardir ) )
Change working directory to parent directory