<div dir="ltr"><div><div>Thanks. I found the issue.<br></div>I had a webbrowser plugin in my dev directory that overriden webbrowser module, but only in Qgis environment.<br></div><div>Renaming it solved.<br><br></div><div><span id="gmail-result_box" class="gmail-short_text" lang="en"><span class="gmail-">Therefore be cautious</span></span> with plugin naming!<br></div><div><br><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-11-11 10:19 GMT+01:00 Luigi Pirelli <span dir="ltr"><<a href="mailto:luipir@gmail.com" target="_blank">luipir@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 11 November 2016 at 09:58, Enrico Ferreguti <<a href="mailto:enricofer@gmail.com">enricofer@gmail.com</a>> wrote:<br>
> import webbrowser<br>
> webbrowser.open("<a href="http://www.google.com" rel="noreferrer" target="_blank">http://www.<wbr>google.com</a>")<br>
<br>
<br>
</span>works on my custom build form python console<br>
<br>
In [1]: import webbrowser<br>
<br>
<br>
In [2]: webbrowser<br>
<br>
Out[2]: <module 'webbrowser' from '/usr/lib/python2.7/<wbr>webbrowser.py'><br>
<br>
<br>
In [3]: webbrowser.<br>
<br>
webbrowser.BackgroundBrowser<br>
webbrowser.Galeon<br>
webbrowser.Mozilla<br>
webbrowser.os<br>
webbrowser.sys<br>
webbrowser.BaseBrowser<br>
webbrowser.GenericBrowser<br>
webbrowser.Netscape<br>
webbrowser.register<br>
webbrowser.time<br>
webbrowser.Chrome<br>
webbrowser.get webbrowser.open<br>
webbrowser.register_X_browsers<br>
webbrowser.UnixBrowser<br>
webbrowser.Chromium<br>
webbrowser.Grail webbrowser.open_new<br>
webbrowser.shlex<br>
webbrowser.Elinks<br>
webbrowser.Konqueror webbrowser.open_new_tab<br>
webbrowser.stat<br>
webbrowser.Error<br>
webbrowser.main<br>
webbrowser.Opera<br>
webbrowser.subprocess<br>
<br>
webbrowser.open("<a href="http://www.google.com" rel="noreferrer" target="_blank">http://www.<wbr>google.com</a>")<br>
Out[3]: True<br>
<br>
Luigi Pirelli<br>
<br>
******************************<wbr>******************************<wbr>******************************<wbr>********<br>
* Boundless QGIS Support/Development: lpirelli AT boundlessgeo DOT com<br>
* LinkedIn: <a href="https://www.linkedin.com/in/luigipirelli" rel="noreferrer" target="_blank">https://www.linkedin.com/in/<wbr>luigipirelli</a><br>
* Stackexchange: <a href="http://gis.stackexchange.com/users/19667/luigi-pirelli" rel="noreferrer" target="_blank">http://gis.stackexchange.com/<wbr>users/19667/luigi-pirelli</a><br>
* GitHub: <a href="https://github.com/luipir" rel="noreferrer" target="_blank">https://github.com/luipir</a><br>
* Mastering QGIS 2nd Edition:<br>
* <a href="https://www.packtpub.com/big-data-and-business-intelligence/mastering-qgis-second-edition" rel="noreferrer" target="_blank">https://www.packtpub.com/big-<wbr>data-and-business-<wbr>intelligence/mastering-qgis-<wbr>second-edition</a><br>
******************************<wbr>******************************<wbr>******************************<wbr>********<br>
</blockquote></div><br></div>