(self)
return True
Remove an empty directory
Remove an empty directory
Remove an empty directory
def rmdir(self):
        """Remove an empty directory"""
        try:
            os.rmdir(self.filename)
        except (OSError, IOError, AttributeError):
            return False
        return True
def rmdir ( self ) : try : os . rmdir ( self . filename ) except ( OSError , IOError , AttributeError ) : return False return True