Arrays? (Or lists if you prefer)
Paul McGuire
ptmcg at austin.rr._bogus_.com
Sun Oct 22 22:17:20 EDT 2006
<Hakusa at gmail.com> wrote in message
news:1161565656.906572.209750 at f16g2000cwb.googlegroups.com...
> 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
More information about the Python-list
mailing list