我遇到的问题是,我的程序似乎无法将文件从一个目录移动到另一个目录
)
感谢您的帮助
for folderName, subFolders,fileName in os.walk("C:\\Users\\camhu\\Downloads"):
for subFolder in subFolders:
if "Python" in subFolder:
print(os.path.join(folderName,subFolder))
shutil.copytree(os.path.join(folderName,subFolder),"C:\\Users\\camhu\\Documents")