def wiglePrint(username, password, netid):
browser = mechanize.Browser()
browser.open('https://wigle.net')
reqData = urllib.urlencode({'credential_0':username, 'credential_1':password})
browser.open('https://wigle.net/gps/gps/main/login', reqData)
params = {}
params['netid'] = netid
reqParams = urllib.urlencode(params)
respURL = 'https://wigle.net/gps/gps/main/confirmquery/'
resp = browser.open(respURL, reqParams).read()
print str(resp)
mapLat = 'N/A'
mapLon = 'N/A'
rLat = re.findall(search_lat, resp)
if rLat:
mapLat = rLat[0].split('&')[0].split('=')[1]
rLon = re.findall(search_lon, resp)
if rLon:
mapLon = rLon[0].split
print '[-] Lat: ' + mapLat + ', Lon: ' + mapLon