eakDev wrote:Hi guys,
Ok I have been playing with how to copy in python with the following:
copyfile - only works when source and destination are both file
copy - can copy to a directory but i am getting an IOError: Permission Denied
copytree - does not work when destination folder exist
All i want is to copy several files from different directories into a single folder. Help please.
files = os.listdir(".")
for f in files: