Hy Gene
With the following code
"""
Python Automation Script
Example for using Helper Classes:
hg.Modules.WithName('Light 1').On()
"""
import sys
sys.path.append("/usr/lib/python2.7/")
import urllib2
from bs4 import BeautifulSoup
soup = BeautifulSoup(urllib2.urlopen('http://192.168.1.64/listdev.htm').read())
#data = soup('table')[2].tbody('td',{'class':'valid'})[1].get_text()
dataPower = soup('table')[2].tbody('td')[10].get_text()
lastScan = soup('table')[2].tbody('td')[16].get_text()
hg.Program.Notify("HelloPY",dataPower)
I get this error
Line 0, Column 0 (Program Code):
An exception was thrown by the type initializer for CodecsInfo