code: def create_directory(self, path=None):
          
          if path is None:
              path = self.get_path()
          if not os.path.exists(path):
              os.makedirs(path)
docs: 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