########################################

import sys

path = os.path.dirname(sys.argv[0])
print "Path:%s" % (path)



######################################

If you ran this as a script,
This would print the location of where the script itself is running.



Hope it helps!

Rob

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

Reply via email to