Discuss / Python / 作业

作业

Topic source
def fetch_xml(url):
    with request.urlopen(url) as f:
        data = f.read()
        return data.decode('utf-8')

  • 1

Reply