Back to main.

Calmcode Shorts

Did you know that you can use python to open up a webpage? It's even a feature that's supported from the base library.

import webbrowser


If you run that as a script, you'll see the default browser open up the website that you point it to.

Back to main.