I have two python scripts and I want to share a complex python object between them. The first script firstly load the contain of a large (.dat) file into the complex python object. After some time, I want to access this object from the second script without loading the file again. I attempted to use shared memory and message passing inter-process communication methods but the both methods fail due to the huge size of the object. What is the suitable method to achieve such inter-process communication in python?

More Suhaila N. Mohammed's questions See All
Similar questions and discussions