At 01:25 AM 10/26/2006 -0400, Pierre Imbaud wrote: >Thats what I did, thats the obvious way. But with this wrapper policy, >sys.argv[0] is the wrapper. to get to the module name, I needed __file__! Perhaps you mean __name__?