Computer Science, asked by queensp73, 10 months ago

Help Plz... Write a python program that copies one file to another. Have the program read the file names from the user.

Answers

Answered by ashish3229255
6

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

Answered by Anonymous
2

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

Similar questions