Recommended data structure/ implementation

Mike D 42flicks at
Wed Feb 13 08:34:43 CET 2008

I have a simple requirement: A user belongs to groups and groups contain

Based on user/group I want to display items.
Based on user I want to display groups.

What would be the best method of implementing this? A dictionary of objects?

I'd usually just use a database but I feel it's quite unnessacary and its a
scenario I'd like to know the solution for.

Hints/ Tips/ Advice appreciated :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list