Discuss / Python / 作业

作业

Topic source

阿萌QVQ

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

import json

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


  • 1

Reply