Skip to content

Instantly share code, notes, and snippets.

@smarek smarek/get_single.py
Created May 30, 2018

Embed
What would you like to do?
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
You can’t perform that action at this time.