Create the directory for the given path. If path is None use the path of this instance

        :param path: the path to create
        :type path: str
        :returns: None
        :rtype: None
        :raises: OSError

def create_directory(self, path=None):
        """Create the directory for the given path. If path is None use the path of this instance

        :param path: the path to create
        :type path: str
        :returns: None
        :rtype: None
        :raises: OSError
        """
        if path is None:
            path = self.get_path()
        if not os.path.exists(path):
            os.makedirs(path)