def removeDir(folder_path): # check folder_path existence if os.path.isdir(folder_path): try: # remove folder shutil.rmtree(folder_path) return 'ok' except: ...
確定! 回上一頁