a name error

mimi.vx mimi.vx at gmail.com
Tue Apr 15 14:50:57 EDT 2008


or

import sys
from urllib2 import *
try:
    r=urllib2.urlopen("http://un-know-n.com/")
except URLError,e:
    print str(e)
    sys.exit(1)

print r.info()

se python scope and namespaces ..



More information about the Python-list mailing list