Need help: Compiling Python-Code &In-Reply-To=
Gabriel Genellina
gagsl-py2 at yahoo.com.ar
Fri May 2 17:54:00 EDT 2008
En Fri, 02 May 2008 18:39:36 -0300, Larry Bates <larry.bates at websafe.com`>
escribió:
> No real reason to get shutil involved in this.
...except memory usage; shutil.copyfileobj reads the input in chunks, but
your version reads the whole file in memory. Depending on the file sizes,
this might be an issue.
--
Gabriel Genellina
More information about the Python-list
mailing list