> I think the answer is python's __file__ which will give the filename of > the module (relative to the current working directory it would seem). Spot on, thanks -- http://www.tiago.org/ps