Answers for "how to move a file to another folder python"

7

python move file

import os, shutil
#move picture.png from /some/dir/ to /another/dir/Pictures/
shutil.move('/some/dir/picture.png', '/another/dir/Pictures/')
Posted by: Guest on July-06-2020

Code answers related to "how to move a file to another folder python"

Python Answers by Framework

Browse Popular Code Answers by Language