Mercurial > rinkhals
comparison scripts/testconsole.py @ 282:f93e0c992f28
Add scripts folder.
author | Simon Cross <hodgestar@gmail.com> |
---|---|
date | Sat, 05 Sep 2009 15:17:08 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
281:5753b624223e | 282:f93e0c992f28 |
---|---|
1 # TestConsole.py | |
2 # -*- coding: utf8 -*- | |
3 # vim:fileencoding=utf8 ai ts=4 sts=4 et sw=4 | |
4 # Copyright 2009 Simon Cross <hodgestar@gmail.com> | |
5 # GPL - see COPYING for details | |
6 | |
7 """This module launches an interactive console. | |
8 | |
9 Its purpose is to provide an easy means to | |
10 test the environment created by a py2exe build. | |
11 """ | |
12 | |
13 if __name__ == "__main__": | |
14 import code | |
15 # pylint: disable-msg=C0103 | |
16 # pylint thinks this should be a constant | |
17 console = code.InteractiveConsole() | |
18 console.interact() |