Help Plz... Write a python program that copies one file to another. Have the program read the file names from the user.
Home
/
Help Plz... Write a python program that copies one file to another. Have the program read the file names from the user
Verified answer
Answer:
code below
Explanation:
file = input("Enter file name")
def file_check:
f = open(file + '.txt','r')
data = f.read()
f.close()
data = data.split('\n')
file = []
for row in data:
file_check.append(list(row))
return file_check
Hi sp
Hi sp here is ur answer
File = input("enter name")
def file_check:
f=open(file + '.txt',r)
data=f.read()
f.close( )
data = data.split('\n')
file = [ ]
file_check.append(list(row))
Hope this will help you...
⭐Mark as brainliest ⭐