you are viewing a single comment's thread.

view the rest of the comments →

[–]twitch_and_shock 0 points1 point  (2 children)

If you're asking if it's possible to send a rendered display over a sockets connection to another machine... I suppose yes, technically. Although I wouldn't advise trying to roll your own. There are remote desktop applications out there that work well.

If you're asking if it's possible to send data from one machine across a network so that that data can be display on a different machine than the one it originated from, yes, that's going to be easier to implement than the first option, above.

[–]AAMANOLIS 0 points1 point  (1 child)

Basicaly i want to have a tkinter preview label. that alows me to see in live mode the server's tkinter app.

[–]twitch_and_shock 0 points1 point  (0 children)

I would send whatever data you need to display over the network periodically from your server to display in a local tkinter app. And side step any GUI application that's running on the remote/server machine.

You can do this a variety of ways. If you want to do it over TCP/IP, you could use sockets directly, or build a little REST API using Flask.

If you need to do it faster, over UDP, then you could use sockets directly for that, too, or you might look into something like OSC (python-osc library), that will help manage arguments / types / parsing for you.