Windows Cmd.exe Window

Giles Brown giles_brown at
Thu Jul 7 18:01:13 CEST 2005

Addendum - forgot to mention that the problem with checking the
extension of sys.argv[0] is that sys.argv[0] is not set until after is run (and it needs to be in not an
imported module due to the top-level SyntaxError problem mentioned in
my other post).

Cheers again for your elegant solution.

More information about the Python-list mailing list