Python 3 read() function
Cro
prahaai at gmail.com
Thu Dec 4 11:57:31 EST 2008
More information about the Python-list mailing list
Thu Dec 4 11:57:31 EST 2008
- Previous message (by thread): Python 3 read() function
- Next message (by thread): Python 3 read() function
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> 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.
- Previous message (by thread): Python 3 read() function
- Next message (by thread): Python 3 read() function
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list