Re: Can Readlines() go to next line after a Tab

2007-06-26 Thread gagsl-py2
(Please keep posting on this list) --- [EMAIL PROTECTED] escribió: > Thanks, but this method still reads the whole line > into memory. I would like to find a way for it to > stop reading when it encounters a \t and then go to > the next. This would be much faster. You can't avoid reading the who

Re: Can Readlines() go to next line after a Tab

2007-06-26 Thread Gabriel Genellina
En Tue, 26 Jun 2007 22:16:56 -0300, <[EMAIL PROTECTED]> escribió: > I have a module based app that can load many modules at startup. The > modules are text based with a '\t' separating the keyword from the > definition. The app reads each module to extract the keywords, but > because readlin

Can Readlines() go to next line after a Tab

2007-06-26 Thread tim
I have a module based app that can load many modules at startup. The modules are text based with a '\t' separating the keyword from the definition. The app reads each module to extract the keywords, but because readlines() must read to the end of the current line to get to the next, the module l