copy files in python code example
Example 1: copy files python
from shutil import copyfile
copyfile(src, dst)
Example 2: copy file in python3
import shutil
original = r'original path where the file is currently stored\file name.file extension'
target = r'target path where the file will be copied\file name.file extension'
shutil.copyfile(original, target)
Example 3: copyfile pyhon
from shutil import copyfile
copyfile(src, dst)