view scripts/testconsole.py @ 560:28f03563f4db pyntnclick

Provide stubby access to sound and resource object from GameDescription on state and scene objects.
author Simon Cross <hodgestar+bzr@gmail.com>
date Sat, 11 Feb 2012 14:47:44 +0200
parents f15c4f7c24e6
children
line wrap: on
line source

#! /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()