s = mmap.mmap(f.fileno(), 0, access=mmap.ACCESS_READ)