蟒蛇web浏览器
问题描述:
我一直在使用这种模块没有问题,通过调用它:蟒蛇web浏览器
webbrowser.open("http link...")
但就目前而言,我想选择一个不同的浏览器,并根据文档(HTTP://文档。 python.org/library/webbrowser.html#webbrowser.get)我写这
controller = webbrowser.get('firefox')
controller("http link...")
...我得到我无法错误摆脱:
Exception in Tkinter callback
Traceback (most recent call last):
....
TypeError: 'Mozilla' object is not callable
关于它的任何想法?
该死的,就是这样!非常感谢! – alessandro 2012-08-09 07:13:57