<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Pythonic lists are everything I want in a one dimensional array . . . > but I'm trying to do a text adventure and simplify the proces by > creating a grid as opposed to a tedious list of rooms this room > connects to. > <snip> > Way to do SIMPLE array, either internally or externally, with Python, > please. >
As an example of using pyparsing, I chose a simple text adventure application, and had to create a 2-D grid of rooms. The presentation materials are online at http://www.python.org/pycon/2006/papers/4/, and the source code is included with the examples that ship with pyparsing -- http://mail.python.org/mailman/listinfo/python-list