requests.post(url,data) makes a HTTP POST Request.
r=requests.post(url,data={'key':'value'})
import requests r=requests.post('http://example.com/login.php',data={'username':'your_username','password':'your_password'})