Creating a file with $SIZE

Marco Mariani marco at sferacarta.com
Wed Mar 12 17:44:32 CET 2008


Robert Bossy wrote:

> Indeed! Maybe the best choice for chunksize would be the file's buffer 
> size... I won't search the doc how to get the file's buffer size because 
> I'm too cool to use that function and prefer the seek() option since 
> it's lighning fast regardless the size of the file and it takes near to 
> zero memory.

And makes a hole in the file, I suppose, hence the fragmentation.

The OP explicitly asked for an uncompressed file.



More information about the Python-list mailing list