Python 3 read() function

Cro prahaai at gmail.com
Thu Dec 4 11:57:31 EST 2008


> Do you really mean io.StringIO? I guess you want io.BytesIO() ..
>
> Christian

Mmm... i don't know.
I also tried :

[code]
IDLE 3.0
>>> import io
>>> vContent = io.BytesIO()
>>> huge = io.open("C:\HUGE_FILE.pcl",'r+b',0)
>>> vContent = huge.read()
[/code]

It still waits a lot... i don't have the patience to wait for the file
to load completely... it takes a lot!

Thank you for your reply.



More information about the Python-list mailing list