Re: How to read and write huge binary files

2007-01-19 Thread Tim Roberts
Lad [EMAIL PROTECTED] wrote: What is a good way to read binary data from HUGE file and write it to another file? How huge? I regularly process 100-megabyte MPEG files in Python, both by reading the whole thing in as a string, and by using mmap to map the file into memory. -- Tim Roberts,

How to read and write huge binary files

2007-01-18 Thread Lad
What is a good way to read binary data from HUGE file and write it to another file? Thanks for help La. -- http://mail.python.org/mailman/listinfo/python-list

Re: How to read and write huge binary files

2007-01-18 Thread Marc 'BlackJack' Rintsch
In [EMAIL PROTECTED], Lad wrote: What is a good way to read binary data from HUGE file and write it to another file? What about `shutil.copy()`? Ciao, Marc 'BlackJack' Rintsch -- http://mail.python.org/mailman/listinfo/python-list

Re: How to read and write huge binary files

2007-01-18 Thread Gabriel Genellina
Lad [EMAIL PROTECTED] escribió en el mensaje news:[EMAIL PROTECTED] 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