"Harlin Seritt" <[EMAIL PROTECTED]> writes: > Is there a function that allows one to get the name of the same script > running returned as a string?
The questions a little ambiguous, but one answer might be:
import sys
myname = sys.argv[0]
<mike
--
Mike Meyer <[EMAIL PROTECTED]> http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.
--
http://mail.python.org/mailman/listinfo/python-list
