ngw wrote: > > Try os.path.dirname (__file__) >
what O/S and python release are you using? I get NameError: '__file__' not defined in win32 and OS X (both are 2.4.x, installed from ActiveState installers) -- http://mail.python.org/mailman/listinfo/python-list