/
๐ŸŒ

WebBrowser.open

Python

Opening web browser with Python

python
import webbrowser
query = "Python history"
url = f"https://duckduckgo.com?q=!+{query}"
webbrowser.open(url)
Code Snippets & Notes by Makzan