creating lists based on parsed items
Jason White
jwhite at casl.umd.edu
Thu Jun 7 08:15:55 EDT 2007
Sorry ... one minor detail lacking. I'm saddled with Python 2.3.4
Jason
-----Original Message-----
From: python-list-bounces+jwhite=casl.umd.edu at python.org on behalf of Basilisk96
Sent: Wed 6/6/2007 6:49 PM
To: python-list at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20070607/a56d481f/attachment.html>
More information about the Python-list
mailing list