I will try to explain a little more clearly: I am trying to figure out how to use shutil and os modules on Python 3.8.5 to be able to take a look at a folder, determine if its contents have been created and/or modified within the last 24 hours... and then if they have, move those files to another folder.
I am going to try to link up the code I have here, I'm still pretty new at using Stackoverflow, so I apologize:
import shutil
import os
shutil.copystat(' \Users\aaron\Desktop\checkFiles\File B.txt', "\Users\aaron\Desktop\needToCopy\"," follow_symlinks=True)
This code keeps giving me invalid syntax errors. I don't know what I'm doing wrong, I have even looked at docs.python.org, but, since I am very new to coding, it was pretty greek to me.