Created
April 28, 2020 06:41
-
-
Save computer-tutor/36ef4d9c564f74dfa0cf481c27c8baf6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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