📅  最后修改于: 2022-03-11 14:45:47.211000             🧑  作者: Mango
import urllib.request
def result_from_site(url_of_site):
global weburl
weburl = urllib.request.urlopen(url_of_site)
return str(weburl.getcode())