def fetch_xml(url): with request.urlopen(url) as f: data = f.read() return data.decode('utf-8')
Sign in to make a reply
少年哥斯拉