Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

shutil copyfile python

# Source path
source = "/home/User/Documents/file.txt"
  
# Destination path
destination = "/home/User/Documents/file(copy).txt"
  
# Copy the content of
# source to destination
dest = shutil.copyfile(source, destination)
 
PREVIOUS NEXT
Tagged: #shutil #copyfile #python
ADD COMMENT
Topic
Name
7+2 =