Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (11 sloc) 240 Bytes
import urllib2
try:
f = urllib2.urlopen("http://www.mejorando.la")
print f.read()
f.close()
except HTTPError, e:
print "Ocurrio un error"
print e.code
except URLError, e:
print "Ocurrio un error"
print e.reason