silpa-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[silpa-discuss] Re: Help required in solving an issue


From: Santhosh Thottingal
Subject: [silpa-discuss] Re: Help required in solving an issue
Date: Wed, 28 Apr 2010 22:20:10 +0530

Are you using line numbers for file.seek() ?
Then you are wrong there. seek will take the byte offset from the
beginning of the file. Not the line number

f.seek(5)  means jump to 5th byte of the file f

Thanks
Santhosh




reply via email to

[Prev in Thread] Current Thread [Next in Thread]