I have a really large file I\'m trying to open with mmap and its giving me permission denied. I\'ve tried different flags and modes to the os.open but its just not
os.open
Try setting the file mode to r+. That worked for me on Linux:
r+
mfd = os.open('BigFile', "r+")
Then this worked for me as normal:
mfile = mmap.mmap(mfd, 0)