282
|
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()
|