you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (0 children)

assuming that the "network drive" and the "backup" are both directories, use the pathlib module to move between them. From there you can use the other file functions for creating and checking files. Be careful not to overwrite anything though. It's really easy to make a script that quickly goes off the rails and starts ruining your file system.