Discuss / Python / 哈哈

哈哈

Topic source

艾文SEO

#1 Created at ... [Delete] [Delete and Lock User]

import json

def fetch_data(url): with request.urlopen(url) as f: return json.loads(f.read().decode('utf-8'))


  • 1

Reply