Directly setting a VENUS Variable from a Python Script

I think this depends on whether you have Venus 6 or not.

In Venus 6 I believe you can use the built-in REST API exactly as you described. This post has some details.

Venus 4 is harder, there’s different ways of doing it that I’ve seen. The easiest might be going through COM objects. Check out the post below.