Hey folks, I've been trying to figure this out for the past couple of days and had no luck. I'm running the following script from Java via the PythonInterpreter (using Eclipse & Jython 2.5.1). I have added the standalone Jython jar file to my project as a library.

Running this script:
import threading
def hello():
    print "hello, world"
t = Timer(2.0, hello)
print "hello"

Gives me the following error:

'Execution failed.  Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "../lib/python/threading.py", line 6, in <module>
    import traceback
  File "../lib/python/traceback.py", line 3, in <module>
    import linecache
  File "../lib/python/linecache.py", line 9, in <module>
    import os
  File "../lib/python/os.py", line 132, in <module>
    from os.path import curdir, pardir, sep, pathsep, defpath, extsep, altsep, devnull
ImportError: cannot import name curdir'

I have no idea why I'm getting this message.