# to copy a file from one place to other import shutil shutil.copy2('source/my_file.jpg', 'copy_here/my_file_copy.jpg')