code: def create_folder(self, folder):
          
          if folder.endswith("/"):
              folder = folder[:-1]
          if len(folder) < 1:
              raise Exception("Minimum folder name length = 1.")
          if not os.path.exists(folder):
              try:
                  os.makedirs(folder)
              except Exception:
                  pass
docs: Creates a folder of the given name if it doesn't already exist.