does readlines stop at 255?

Bjorn Pettersen BPettersen at NAREX.com
Sat Apr 27 14:10:55 EDT 2002


> From: v.wehren [mailto:v.wehren at home.nl] 
> 
> It appears that readlines() stops at 255...when reading a line..
> 
> How can I work around this if my file has lines longer than 
> 255 characters (and making them shorter is not an option...)??

readline() can handle any length lines (up to available memory). There
must be something else wrong. Post code.

-- bjorn





More information about the Python-list mailing list