annotate scripts/testconsole.py @ 373:7338d8f49f64

add TODO note
author Neil Muller <neil@dip.sun.ac.za>
date Sat, 28 Aug 2010 17:43:14 +0200
parents f15c4f7c24e6
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
186
f15c4f7c24e6 Windows builder (works under Wine).
Simon Cross <simon@simonx>
parents:
diff changeset
1 #! /usr/bin/env python
f15c4f7c24e6 Windows builder (works under Wine).
Simon Cross <simon@simonx>
parents:
diff changeset
2 # testconsole.py
f15c4f7c24e6 Windows builder (works under Wine).
Simon Cross <simon@simonx>
parents:
diff changeset
3 # Copyright Simon Cross, Neil Muller, 2009 (see COPYING File)
f15c4f7c24e6 Windows builder (works under Wine).
Simon Cross <simon@simonx>
parents:
diff changeset
4
f15c4f7c24e6 Windows builder (works under Wine).
Simon Cross <simon@simonx>
parents:
diff changeset
5
f15c4f7c24e6 Windows builder (works under Wine).
Simon Cross <simon@simonx>
parents:
diff changeset
6 """This module launches an interactive console.
f15c4f7c24e6 Windows builder (works under Wine).
Simon Cross <simon@simonx>
parents:
diff changeset
7
f15c4f7c24e6 Windows builder (works under Wine).
Simon Cross <simon@simonx>
parents:
diff changeset
8 Its purpose is to provide an easy means to
f15c4f7c24e6 Windows builder (works under Wine).
Simon Cross <simon@simonx>
parents:
diff changeset
9 test the environment created by a py2exe build.
f15c4f7c24e6 Windows builder (works under Wine).
Simon Cross <simon@simonx>
parents:
diff changeset
10 """
f15c4f7c24e6 Windows builder (works under Wine).
Simon Cross <simon@simonx>
parents:
diff changeset
11
f15c4f7c24e6 Windows builder (works under Wine).
Simon Cross <simon@simonx>
parents:
diff changeset
12 if __name__ == "__main__":
f15c4f7c24e6 Windows builder (works under Wine).
Simon Cross <simon@simonx>
parents:
diff changeset
13 import code
f15c4f7c24e6 Windows builder (works under Wine).
Simon Cross <simon@simonx>
parents:
diff changeset
14 # pylint: disable-msg=C0103
f15c4f7c24e6 Windows builder (works under Wine).
Simon Cross <simon@simonx>
parents:
diff changeset
15 # pylint thinks this should be a constant
f15c4f7c24e6 Windows builder (works under Wine).
Simon Cross <simon@simonx>
parents:
diff changeset
16 console = code.InteractiveConsole()
f15c4f7c24e6 Windows builder (works under Wine).
Simon Cross <simon@simonx>
parents:
diff changeset
17 console.interact()