import os os.chdir(r"C:\main directory") wd = os.getcwd() all_files ... You can also use the Pathlib module's Path class to remove all files ...
確定! 回上一頁