Advertisement
here2share

# file_read_line_specific.py

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