sys.argv[0] will yield the command that was used to invoke the program. On Wed, Aug 18, 2004 at 02:27:39PM -0500, Josh Close wrote: > This is a simple question, but I can't find the answer for some reason. > > How do I get the name of the current script/program that is running?