Ok I was wondering if anyone could help me with how to make a python program interact with files. Copying, pasting, moving, things like that, opening. If it cant really be discussed quicky are there any good tutorials? Mainly a organinzing python program.(looks for a certain file extention, then moves it to a desegnated folder)
# copy a file to another folder or to another filename
# copy2() retains original date/time, copy() does not
# make sure folder and file exists
sourcefile = "D:/Python24/Atest/Audi.jpg"
# destination-folder has to exist
destinationfile = "C:/Temp/Audi.jpg"
print "File or folder does not exist!"
print "File successfully copied!"