These lines > if __name__ == '__main__': > OptionsWindow() mean "if this source code is the main program (not an imported module), call OptionsWindow()". So the behavior should be different when the source code is the main program ('python opt_newlogin.py') and when it's imported ('python -c "import opt_newlogin"')
Jeff
pgpCSdrstdRnI.pgp
Description: PGP signature
-- http://mail.python.org/mailman/listinfo/python-list