Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # file_read_line_specific.py
- print open('xxx.txt').readlines()[:7][-1] ### to extract only line 7
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement