Python 3 read() function
lists at cheimes.de
Thu Dec 4 17:48:27 CET 2008
> Good day.
> I have installed Python 3 and i have a problem with the builtin read()
> huge = open ( 'C:/HUGE_FILE.pcl', 'rb', 0 )
> import io
> vContent = io.StringIO()
> vContent = huge.read() # This line takes hours to process !!!
> vSplitContent = vContent.split
> ( 'BIN;SP1;PW0.3,1;PA100,700;PD625,700;PU;' ) # This one i have neve
Do you really mean io.StringIO? I guess you want io.BytesIO() ..
More information about the Python-list