import os
print os.path.dirname(os.path.abspath(__file__))

--
Jerry

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to