(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
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
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