ellesehc

Only File I/O?

Apr 2nd, 2015
222
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.18 KB | None | 0 0
  1. account_file = open('/Users/xcv/Desktop/bank_account_info.txt', 'w')
  2.     read_file = account_file.read()
  3.     account_file.close()
  4.  
  5. with open('workfile', 'r') as f:
  6.     read_data = f.read()
Advertisement
Add Comment
Please, Sign In to add comment