Advertisement
lessientelrunya

with open file

Apr 7th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.14 KB | None | 0 0
  1. with open('my_library/just_kids.txt', encoding='utf-8') as a_file:
  2.     a_file.seek(17)
  3.     a_character = a_file.read(1)
  4.     print(a_character)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement