Ask Your Question

Revision history [back]

Okay, I understand your situation now.

I'd recommend using a FIFO instead of a file, they're similar in many ways. You can open them with the same functions you use for files but they just pipe data between processes instead of storing it on a disk.

There's a good example of doing this in python here because the only connection is the linux FIFO the sender can be python 3.6 and the receiver can be python 2.7.

Lets us know how you get on.