From: Lars Hupfeldt Nielsen <lhn@so...> - 2001-09-05 09:34:36
How can a command get the filename of the script/module from which it is
I figured out how to do it when a command is called from a module being
imported, but when execfile is used I instead get the filename of the
file from which 'execfile' was called.
Lars Hupfeldt Nielsen.