How to control arduino microprocessor with python on linux environment?

I am trying to send a messages to arduino microprocessor from linux with python. I am not exactly sure how can I achieve that? Those messages are supposed to control arduino and describe what actions it needs to take. Process.runShellCommand() doesn't suit me because the python script needs to be running forever.

What can we do with GitHub - arduino/YunBridge library. Can we use it for our own needs?

Can I use Mailbox on linux side?

On the linux side, you can use bridgeclient (there are python and php implementations). Mailbox is still not supported. There is open issue about that bridgeclient should support mailbox · Issue #13 · arduino/YunBridge · GitHub (you already know, but this is for forum readers)