2011-05-26 76 views

回答

4
from urllib2 import urlopen, HTTPError 

try: 
    f = urlopen(url) 
except HTTPError, e: 
    print(e.read()) 
相關問題