code: def clear_path(path):
      
      from time import time
      if not os.path.exists(path):
          return
      if TRASH_PATH == '.':
          shutil.rmtree(path, ignore_errors=True)
      else:
          shutil.move(path, '%s/%s_%s' % (
              TRASH_PATH, os.path.basename(path), time()))
docs: This will move a path to the Trash folder
      :param path: str of the path to remove
      :return:     None