Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

copy file in python3

import shutil

original = r'original path where the file is currently storedfile name.file extension'
target = r'target path where the file will be copiedfile name.file extension'

shutil.copyfile(original, target)
Source by datatofish.com #
 
PREVIOUS NEXT
Tagged: #copy #file
ADD COMMENT
Topic
Name
9+5 =