> > > The path of your script is given by __file__. thanks MRAB, and sorry for such a trivial question :) cheers! tiefeng wu -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-list/attachments/20090415/46bc795a/attachment-0001.html>