webbroswer is part of pythons standard library, which means you need to set up your environment in jedit. You will want to open the options for the JpyDebug plugin and set up your environment for Jython, Java, and Python.
I am on Ubuntu :) > Thanks Shaun: > I have the jython interpreter working, but I get an error when I try > to execute the script: > > Traceback (innermost last): > File "C:\Documents and Settings\Administrator\.jedit\macros > \MayaHelp.py", line 3, in ? > ImportError: no module named webbrowser > > I've also tried: > from org.gjt.sp.jedit import webBrowser > Which is found using autocompletion but nonetheless throws this error: > ImportError: cannot import name webBrowser > > I also tried: > from org.gjt.sp.jedit import browser > which doesn't throw an import error, but it doesn't have open, > openURL, or open_new_tab attributes. > > Any change you know how to get past this? > > Also, are you on UNIX? I assume the windows partial path would be set > to: > 'C:\Program Files\Autodesk\Maya2011\docs\Maya2011\en_US\CommandsPython > \' > > Thanks. > > -- > http://groups.google.com/group/python_inside_maya > -- Shaun Friedberg 04-902-0443 http://www.pyrokinesis.co.nz "Fire Is Fun, When You Think About It" -- http://groups.google.com/group/python_inside_maya
