Skip to content

Instantly share code, notes, and snippets.

@linuxkathirvel
Last active July 29, 2020 10:37
Show Gist options
  • Save linuxkathirvel/ee12b23c12409dbb8b66587e3acd713b to your computer and use it in GitHub Desktop.
Save linuxkathirvel/ee12b23c12409dbb8b66587e3acd713b to your computer and use it in GitHub Desktop.
How to open single/multiple web pages using Python?

How to open single/multiple web pages using Python?

import webbrowser

urls = ['https://gnu.org', 'https//kde.org']
for url in urls:
    webbrowser.open(url,new=0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment