Russell Bungay wrote: >>gofishdir = os.path.dirname(__file__) > >though the slightly more obvious answer would be: >gofishdir = sys.argv[0] <cough> gofishdir = os.path.dirname(sys.argv[0]) Russell -- http://www.bigmaddrongo.com President of York University Trampoline Club: http://york.trampolining.net Chair of The York Glee Singers: http://www.gleesingers.co.uk