[Qgis-user] python webbrowser

Enrico Ferreguti enricofer at gmail.com
Fri Nov 11 00:58:17 PST 2016


I have a strange behaviour with webbrowser python module:

if I open python console in QGis and write

*import webbrowser*
*webbrowser.open("http://www.google.com <http://www.google.com/>")*

I get the following error:

*Traceback (most recent call last):*
*  File "<input>", line 1, in <module>*
*AttributeError: 'module' object has no attribute 'open'*

but If I do the same in OS python console (verified in windows and ubuntu)
I get the expected result.

Does Anyone confirm it? Should I open an issue ticket?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20161111/84d3b48c/attachment.html>


More information about the Qgis-user mailing list