import requests formdata = "data" url = 'https://example.com' website = requests.post(url, data=formdata) output = website.text