[Tutor] dicts&lists vs objects

Chris Somerlot csomerlot at gmail.com
Wed May 11 21:02:05 CEST 2005


I have been working on a scientific application for awhile, and have been 
using dictionaries and lists to store data and attributes of datasets. This 
is getting cumbersome as there are many, every dict/list is a premutation of 
another, and I'm having trouble following the code I've written.

Is there a golden rule to knowing when to use objects instead of 
dictionaries and lists?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20050511/0aa2a5d2/attachment.html


More information about the Tutor mailing list