Message245355
I must add that it doesn't work on Windows 7, Python 3.4.3, either. I do have chrome.exe on the %PATH% and executing 'chrome' in Windows Command Prompt opens up the Chrome browser nicely, but it doesn't work so nicely by doing this:
import webbrowser
webbrowser.get("chrome")
I get this error message:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Program Files\Python 3.4\lib\webbrowser.py", line 51, in get
raise Error("could not locate runnable browser")
webbrowser.Error: could not locate runnable browser |
|
Date |
User |
Action |
Args |
2015-06-14 23:16:14 | PedanticHacker | set | recipients:
+ PedanticHacker, ronaldoussoren, nedbat, ned.deily |
2015-06-14 23:16:14 | PedanticHacker | set | messageid: <1434323774.75.0.218356254154.issue24452@psf.upfronthosting.co.za> |
2015-06-14 23:16:14 | PedanticHacker | link | issue24452 messages |
2015-06-14 23:16:14 | PedanticHacker | create | |
|