Python Forum
How to copy a file to another location? Python 2.7
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to copy a file to another location? Python 2.7
#2
Why are you using Python 2.7? It reached end of life at the beginning of the year, so you should be using 3.x now.

Per the docs for copyfile, you need to specify the complete path to the file, not just the destination directory.
Reply


Messages In This Thread
RE: How to copy a file to another location? Python 2.7 - by ndc85430 - Jul-19-2020, 05:49 AM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020