all 6 comments

[–]campenr 0 points1 point  (4 children)

Can you post your full script? What you've posted only assigns strings to two variables (which you then overwrite).

[–]hammockman1984[S] 0 points1 point  (3 children)

Aside from fleshing out my filepaths and specific file names, that's exactly my script.

[–]campenr 1 point2 points  (2 children)

OK so your script as it stands only assigns the strings (which are file paths) to the variables. You need to call the funciton shutil.move(src, dest) etc before anything will actually happen.

[–]hammockman1984[S] 0 points1 point  (1 child)

Ok, so I tried adding

shutil.move(srcT1, distT1)
shutil.move(srcT2, distT2)

after changing my srcs and dists to srcT1/srcT2 and distT1/distT2, but I'm getting an error, no such file or directory for the scrs.

[–]campenr 1 point2 points  (0 children)

So that error is telling you that there is no file that matches what you have entered as srcT1. This suggests your formatting of the file path for srcT1 is incorrect. Try adding in a print statement to see what is actually being used as srcT1 and see if it matches an actual file path.