Skip to content

Instantly share code, notes, and snippets.

@smarek
Created May 30, 2018 05:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save smarek/da72f9db6edc32bc485dc832265e2034 to your computer and use it in GitHub Desktop.
Save smarek/da72f9db6edc32bc485dc832265e2034 to your computer and use it in GitHub Desktop.
WebVisu get single property
#!/usr/bin/python
import requests #you might need to install requests separatelly
import sys
req = "|0|1|0|" + str(sys.argv[2]).replace(",","|")
addr = "http://" + str(sys.argv[1])
print req
r = requests.post(addr + '/webvisu/webvisu.htm', data=req)
print r.text
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment