slow joinings of strings
Karol Bryd
kbryd at losthighway._nospam_eu.org
Tue Jan 30 07:46:04 EST 2001
Carsten Gaebler <cg at schlund.de> writes:
> This should be faster:
>
> s = open(file, 'r').read()
Ok, this works fine as long as I want to read whole file at once,
but in my case, unfortunately, I need to read file part by part
(the file is RFC822 message, and I want to extract some MIME parts
from it).
Reagards.
--
------------------- Karol Bryd ------------------
---------------- http://int.gnu.org.pl ------------------
More information about the Python-list
mailing list