Can i store my hops input/output inside the python server script?

Hello,
I am looking for a way to store the inputs/outputs of a grasshopper script inside the python server.

For exemple:
When i move a slider “x”, my variable “x” inside my python server script is update.
Same thing for the output, when the output is update inside my grasshopper script, the variable “out” inside the python server is update.

thank you in advance for your answers :slight_smile: