Answers for "python copy file create intermediate directories"

0

python copy file create intermediate directories

os.makedirs(os.path.dirname(dest_fpath), exist_ok=True)
shutil.copy(src_fpath, dest_fpath)
Posted by: Guest on December-25-2020

Code answers related to "python copy file create intermediate directories"

Python Answers by Framework

Browse Popular Code Answers by Language