Command parsing... best module to use?
Mark Tolonen
metolone+gmane at gmail.com
Mon Nov 2 13:21:34 EST 2009
"Collin D" <collin.day.0 at gmail.com> wrote in message
news:94dbc92b-0682-4995-b358-0c615c95a27a at x6g2000prc.googlegroups.com...
> Hey everyone.
>
> I am writing a game in python, and it includes a text console somewhat
> like the one in WoW and Runescape. I want to be able to include "/"
> commands, like IRC, and was wondering what the best module would be to
> parse these.
Check out the pyparsing module. Here is a presentation given by the author
for parsing an interactive game.
http://us.pycon.org/zope/talks/2006/fri/track1/04/index.html
-Mark
More information about the Python-list
mailing list