Lie Ryan wrote:
On 01/14/10 05:33, Albert van der Horst wrote:

(I encountered this before. A dictionary is a natural for a
boardgame position, i.e. chess. Now we want to look up chess
positions.)


or use collections.namedtuple

Which is great until you want to make a move.  ;)

~Ethan~
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to