Mercurial > boomslang
diff scripts/testconsole.py @ 186:f15c4f7c24e6
Windows builder (works under Wine).
author | Simon Cross <simon@simonx> |
---|---|
date | Wed, 25 Aug 2010 16:24:55 +0200 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/scripts/testconsole.py Wed Aug 25 16:24:55 2010 +0200 @@ -0,0 +1,17 @@ +#! /usr/bin/env python +# testconsole.py +# Copyright Simon Cross, Neil Muller, 2009 (see COPYING File) + + +"""This module launches an interactive console. + + Its purpose is to provide an easy means to + test the environment created by a py2exe build. + """ + +if __name__ == "__main__": + import code + # pylint: disable-msg=C0103 + # pylint thinks this should be a constant + console = code.InteractiveConsole() + console.interact()