Hi.
How can a command get the filename of the script/module from which it is
called?
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.
Regards
Lars Hupfeldt Nielsen.
|