I Steve, I know it's several ways to isolate the filename. I just want to avoid the overhead of importing sys or os to achieve it.
Currently I have this in my scripts: __filename__ = __file__.replace('\\', '/').rsplit('/', 1)[-1] -- http://mail.python.org/mailman/listinfo/python-list