How to read and write huge binary files

Gabriel Genellina gagsl-py at yahoo.com.ar
Thu Jan 18 12:27:00 EST 2007


"Lad" <python at hope.cz> escribió en el mensaje 
news:1169136850.518228.103360 at l53g2000cwa.googlegroups.com...

> What is a good  way to read binary data from HUGE  file and write  it
> to another file?
Without processing the data read? shutil.copy2 or similar
Else, a lot of applications can follow the pattern read-process-write: read 
a logical block, process, write the output; where "logical block" depends on 
the application: a record, a frame, a chunk...

-- 
Gabriel Genellina 





More information about the Python-list mailing list