Копирую такими строчками:
fileforcopy = open('Z:\\file.pdf',"rb"); data = fileforcopy.read(); fileforcopy.close() fileforcopy = open(os.getcwd()+'file.pdf',"wb"); fileforcopy.write(data); fileforcopy.close()
fileforcopy = open('Z:\\file.pdf',"rb"); data = fileforcopy.read(); fileforcopy.close() fileforcopy = open(os.getcwd()+'file.pdf',"wb"); fileforcopy.write(data); fileforcopy.close()