Python @ DjangoSpin

Python: Launching webpages using the webbrowser standard library module

Buffer this pageShare on FacebookPrint this pageTweet about this on TwitterShare on Google+Share on LinkedInShare on StumbleUpon
Reading Time: 1 minutes

webbrowser in Python

webbrowser in Python

Python's webbrowser module provides us with an interface to control the default web browser. You can use its open() function to launch webpages with provided URLs.

>>> webbrowser.open('https://www.djangospin.com/')

See also:

Buffer this pageShare on FacebookPrint this pageTweet about this on TwitterShare on Google+Share on LinkedInShare on StumbleUpon

Leave a Reply