Sorry ... one minor detail lacking. I'm saddled with Python 2.3.4 Jason
-----Original Message----- From: [EMAIL PROTECTED] on behalf of Basilisk96 Sent: Wed 6/6/2007 6:49 PM To: python-list@python.org Subject: Re: creating lists based on parsed items > If you are using Python 2.5, use a defaultdict instead, the very first > example looks like what you want. > <http://docs.python.org/lib/defaultdict-objects.html> > > -- > Gabriel Genellina Uh-oh.. I am using Python 2.5 on WinXP, but when I tried the examples in the manual, I got a "NameError: name 'defaultdict' is not defined". What am I missing in my Python installation? -Basilisk96 -- http://mail.python.org/mailman/listinfo/python-list
-- http://mail.python.org/mailman/listinfo/python-list