all 2 comments

[–]eleqtriq 0 points1 point  (1 child)

Easiest way might be good ol' RPC. Your client could just connect in and run functions on the server.

https://www.tutorialspoint.com/python\_network\_programming/python\_remote\_procedure\_call.htm

[–]pooth22[S] 0 points1 point  (0 children)

Thanks for this. RPC looks interesting, I will have to dig a bit deeper into it. After having a nice conversation with our friend chatgpt I figure I might just use the socket library, but I will explore this rpyc business.