用requests库发送一次post请求,只要把字符串写在表单里面就可以了。 import requestsdata = {key:str}#表单用字典格式,字符串作为valuer = requests.post(url,data=data)