[Pyparsing] Index operator
Brought to you by:
ptmcg
From: Will M. <wil...@gm...> - 2011-09-25 12:29:52
|
Hi, I have a custom expression evaluator that is working quite well, bit I'd like to implement an operator that works just like indexing a string or sequence in python. i.e. something[<expression>] I can't quite figure out how to do this. Can anyone give me any pointers? Thanks, Will McGugan -- Will McGugan http://www.willmcgugan.com |