title: Problems Opening Firefox
body: <p>I'm trying to write a Python script to open a URL, but I keep getting errors when I try to use it:</p>
  
  <pre><code>import webbrowser
  
  firefox = webbrowser.get('mozilla')
  </code></pre>
  
  <p>This is the error:</p>
  
  <pre><code>Traceback (most recent call last):
    File "C:\Users\Gelu\Documents\CSCI\Image URL Generator\src\Generator.py", line 8, in &lt;module&gt;
      firefox = webbrowser.get('mozilla')
    File "C:\Program Files\Python31\lib\webbrowser.py", line 53, in get
      raise Error("could not locate runnable browser")
  webbrowser.Error: could not locate runnable browser
  </code></pre>
  
  <p>Any ideas why this isn't working?</p>