I am getting error while executing below line:
print urllib.urlopen('http://'+dns+'/password?passwd='+PASSWORD).read
Error:
IOError: ('http protocol error', 0, 'got a bad status line', None)
However, it's working fine with webbrowser.open_new