-1
List=['google.com','facebook.com','youtube.com']
c = webbrowser.get('opera') 
for i in List:
    c.open(i)

I am using Sublime text and then running the code in cmd. I am trying this for a long time but it says, no runnable browser detected. Please tell what browser name should be put inside that module to open only opera webbrowser.

Gino Mempin
  • 19,150
  • 23
  • 79
  • 104
  • 2
    Does this answer your question? [webbrowser.get — could not locate runnable browser](https://stackoverflow.com/questions/48056052/webbrowser-get-could-not-locate-runnable-browser) – Gino Mempin Sep 05 '20 at 11:22

1 Answers1

0
List=['google.com','facebook.com','youtube.com'] 
       
c = webbrowser.get('opera')

webbrowser.register('opera',"location of your opera exe file",c) 
for i in List: 
    c.open(i)
Gino Mempin
  • 19,150
  • 23
  • 79
  • 104
Sandrin Joy
  • 1,074
  • 6
  • 24