Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
name1 = input("Enter file to be read from:")
name2 = input("Enter file to be appended to:")
fin= open (name1,'r')
data2=fin.read()
fin.close()
fout= open(name2,"a")
fout.write(data2)
fout.close()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment