Mercurial > mamba
annotate scripts/testconsole.py @ 532:f2f7a91aae95
Red died text
author | Stefano Rivera <stefano@rivera.za.net> |
---|---|
date | Sun, 18 Sep 2011 01:14:50 +0200 |
parents | 965048a33ce4 |
children |
rev | line source |
---|---|
429 | 1 #! /usr/bin/env python |
2 # testconsole.py | |
3 | |
4 | |
5 """This module launches an interactive console. | |
6 | |
7 Its purpose is to provide an easy means to | |
8 test the environment created by a py2exe build. | |
9 """ | |
10 | |
11 if __name__ == "__main__": | |
12 import code | |
13 console = code.InteractiveConsole() | |
14 console.interact() |