next line in jython

Posted by kdev on Stack Overflow See other posts from Stack Overflow or by kdev
Published on 2010-03-26T01:14:46Z Indexed on 2010/03/26 1:23 UTC
Read the original article Hit count: 205

Filed under:

Hi everyone ,

count_record=file.readline()
 count_prev=count_record[:-1] ,

i used this to read the previous line and it worked but now when i am using

count_next=count_record[:+1] i am not able to read the next line , is there is way to do so read the next time .

Thanks for your help

© Stack Overflow or respective owner

Related posts about jython