python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
How to I move a directory in python using shutil library?
I'm trying to move a file but it won't work. It keeps giving the error "Errno 2: File or directory does not exist". The code is shown below
import shutil
original = '%userprofile%/Desktop/T...
SpicySoap
Votes: 0
Answers: 2
zipfile and shutil not keeping the file exif data
I have a .zip archive and within it a single .dng image file with metadata about exposure time, etc.
When unpacking this achive using either shutil.unpack_archive or ZipFile.extractall(), the .dng is ...
Yarden
Votes: 0
Answers: 1
How do I copy files by date created?
I am trying to copy files from one folder to another. Sometimes the folder has 5 gigs worth of files, but I only need two months worth of files. How do I tell python to copy files from a date range of...
Beyond Unknown
Votes: 0
Answers: 1
Python - Find duplicate files and move to another folder
Working on a small script that allows the user to selected a folder to search for duplicate files, whether that be images, text etc. It should then move those duplicate files into another folder of th...
Kingspud
Votes: 0
Answers: 1