How to access shared memory type section by Python

537 views Asked by At

I try to make a Python application read data from a shared memory type section. The location of the shared memory is \Sessions\1\BaseNamedObjects\ObjectName.

Do I need to use mmap for read this? If yes, how can I open this shared memory? Like open("\Sessions\1\BaseNamedObjects\ObjectName", "r+b")?

I tried this, but it reported an invalid argument.

0

There are 0 answers