Hi Lars.
Lars Friedrich wrote:
Hello,
[snip examples]
What would your solution be? Write a "real" program, with no
possibility
to use python interactively? Doing something completely different?
You could make some kind of UDP listening module and whenever you
receive a command
just execute it.
and then just write a separate script that sends commands to
127.0.0.1 on whichever port you decide to use.
I think you could do this without threads, if you put the code for
the listening inside of your main game loop,
but I'm not sure.