Answers for "how to copy files that are open in another program python"

0

copy contect from file tot other file python

# open both files 
with open('first.txt','r') as firstfile, open('second.txt','a') as secondfile: 
      
    # read content from first file 
    for line in firstfile: 
               
             # write content to second file 
             secondfile.write(line)
Posted by: Guest on March-18-2021

Code answers related to "how to copy files that are open in another program python"

Python Answers by Framework

Browse Popular Code Answers by Language