问答 / 0 / 4 / 创建于 2年前
gender_response = requests.get(gender_url)
What is the `requests` ?
import request # No matching distribution found for request from django.contrib.sites import requests # module 'django.contrib.sites.requests' has no attribute 'get'
or
import requests
import requests url = "https://api.genderize.io/?name=peter" response = requests.get(url) data = response.json() print(data)
{'count': 1094417, 'name': 'peter', 'gender': 'male', 'probability': 1.0}
我要举报该,理由是:
What is the `requests` ?
or