Advertisement
ZalaScript

Open Url in Web browser

Jan 8th, 2020
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.24 KB | None | 0 0
  1. import webbrowser
  2. urls = ['http://www.xkcd.org/',
  3.         'http://stackoverflow.com/questions/22213479/python-text-to-html-link',
  4.         'http://docs.python.org/2/library/webbrowser.html']
  5.  
  6. for url in urls:
  7.     webbrowser.open_new_tab(url)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement