def create_directory(self, path):
        """
        Create directory ``path`` (non-existent parents will be created as
        well).

        :type path: str
        :param path: the path of the directory
        :raises: :exc:`~exceptions.IOError`
        """
        _complain_ifclosed(self.closed)
        return self.fs.create_directory(path)
def create_directory ( self , path ) : _complain_ifclosed ( self . closed ) return self . fs . create_directory ( path )
Create directory ``path`` (non-existent parents will be created as
        well).

        :type path: str
        :param path: the path of the directory
        :raises: :exc:`~exceptions.IOError`