As simple as
import urllib f = urllib.urlopen("http://www.google.com")
(not the best in syntax color selection)
Doesn’t work in Blender. The error says to check the console for now, but I don’t see anything in the Python console window or the log window. This is on OS X.
Also, I tried the same code in ideone, but no luck there either.
Something else I should be doing?