Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #####file2.py####
- ABC=open('ABC.txt', 'r')
- line= ABC.readlines()
- import line[0] ##### the first line of ABC.txt is the file1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement