Question

How to open a url in web browser, whose value is received from cgi form, by using python?

One file contains the cgi form code and the value from this form is sent to a python file. I’m trying webbrowser.open(url) to open the url in the broswer, which is getting the input from the path entered in form.


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer