获取您自己的
Python
服务器
×
改变方向
改变主题,深色/浅色
前往 Spaces
import requests #the required first parameter of the 'delete' method is the 'url': x = requests.delete('https://w3schools.com/python/demopage.php') #print the response text (the content of the requested file): print(x.text)
已删除一条记录。