Reading tags

Its hard for me to imagine that Ignition cannot do this. Recent script:
from urllib import urlopen
auth = HTTPBasicAuthHandler()
auth.add_password(“https://www.mercuryinstrumentsmlb.com/dc2009web/Logon.aspx",“XXXXXX”,"XXXXXX”)
#create opener with auth attached
opener = build_opener(auth)
#open url
u = opener.open(“https://www.mercuryinstrumentsmlb.com/dc2009web/default.aspx”)
print page

Throws an exception that HTTPBasicAuthHandler is not defined.
Any information on this?
i have also just did:
import urllib without ‘open’ and still the same exception.

Help appreciated