script fail - "webbrowser" module

Hi,
I have a simple example python monitor / “general” script that is failing in v4:

[code]import webbrowser

def main( *args ):
webbrowser.open_new( “http://www.google.com” )[/code]

In the repository options, I have declared:

"c:\python26\Lib"

Am I right this is the same issue of IronPython v2.0 not being up-to-date with CPython v2.6 ?

Error:
Python_Error.jpg

Thanks,
Mike

That could very well be the case. Can you try installing Python 2.5 on a machine for the sake of testing?

I installed Python v2.5.4 and added the extra path to the beginning of the python search path in the repository.
Still not working. :frowning:

Python_error.jpg

I even added the following path in the script:

[code]import sys
sys.path.append( “C:\Python25\Lib” )
import os
import webbrowser

def main():
webbrowser.open_new( “http://www.google.com” )
[/code]

still fails :frowning:

I think its going to have to wait till v4.1

Mike