Answers for "shutil.copyfile"

0

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)
Posted by: Guest on April-03-2021

Python Answers by Framework

Browse Popular Code Answers by Language