My code: if os.path.exists(myDir): shutil.rmtree(myDir) os.mkdir(myDir). Problem: It always work if myDir does not exist.
確定! 回上一頁