mmap file won't open properly with Linux

Jeff Epler jepler at
Sat Nov 8 21:34:26 CET 2003

Read the documentation more carefully.  The "0 means length of file"
trick only works on windows, apparently.

You can use os.fstat(fd).st_size to get the current size of an open
file, or os.stat(filename).st_size to get the current size of a file by


More information about the Python-list mailing list