Ask coding questions

← Back to all posts
How would I open a browser in python?
hansdoesnothing

I am working on a project, and I am looking to open a browser because I am planning to submit a google form through python. How would I go about that?

Voters
andresg5
hansdoesnothing
Comments
hotnewtop
a5rocks

Well, if you just want to open a browser, are not on repl.it, and don't want to control it, there's a module called webbrowser where you can do webbrowser.open(<url>). For example, to open duckduckgo:

SixBeeps

I think the thing you're looking for is called Selenium WebDriver, but I've never used it.