how to copy files from once location to another without using shutil in python -
i tried shutil python debugger throwing error..can know why this?? , there other way?? path = "c:\\program files (x86)" if os.path.exists(path): src= "c:\\program files (x86)\\abc\\xyz\\quicktest\\scripts\\routertester900\\diagnostic\\routertester900systemtest" else: src= "c:\\program files\\abc\\xyz\\quicktest\\scripts\\routertester900\\diagnostic\\routertester900systemtest" dest = "c:\\sanity_automation\\" shutil.copy(src,dest) update: getting error : traceback (most recent call last): file "c:\sanity_automation\work_project\copy.py", line 15, in <module> shutil.copy(src, dest) file "c:\sanity_automation\python272\lib\shutil.py", line 116, in copy copyfile(src, dst) file "c:\sanity_automation\python272\lib\shutil.py", line 81, in copyfile open(src, 'rb') fsrc: ioerror: [errno 13] permission denied: 'c:\\program files (x86)\\agilent\\n2x\\quicktest\\scripts\\...