<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7651.59">
<TITLE>RE: creating lists based on parsed items</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

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

</BODY>
</HTML>