Tip: To find out the directory of the currently executing program, use: import sys, os if __name__ == '__main__': _thisDir = '' else: _thisDir = os.path.split(sys.modules[__name__].__file__)[0] (note that this is a relative path). --david