On 20/12/05, Kevin Yuan <[EMAIL PROTECTED]> wrote:
I tried the following
>>>> getFilePath = lambda name: os.path.normpath('%s\\%s' % (sys.modules[name].prefix, sys.modules[name].__name__))
>>>> getFilePath('__main__')
getFilePath = sys.argv[0] ??
:)
-- http://mail.python.org/mailman/listinfo/python-list