View Single Post
  #2  
Old 04-19-2008, 10:48 AM
Uttama_vizard Uttama_vizard is offline
Member
 
Join Date: Sep 2007
Posts: 60
Read File....some issues

If we use

import linecache

then, we use

q =linecache.getline('Test.txt', 22)
print q

This prints the line 22 selectively from the bulk of data.

This answers the first question.

If somebody can help in solving the other 3, that would be wonderful.

Thanks

Uttama
Reply With Quote