Reputation: 159
I am using Python's webbrowser
module and I think it only supports opening a new tab in my browser. I like to send data using POST request using python and open that in my browser. Is there any library for that?
Upvotes: 2
Views: 2258
Reputation: 66
you can use
import os
url = "google.com"
os.system('start chrome ' + url)
for open new tab and you can use
import requests
request.post(url,json/data)
for post request
Upvotes: 1