Using dictionary to hold regex patterns?
Gilles Ganault
nospam at nospam.com
Sun Nov 23 18:46:42 EST 2008
On Sun, 23 Nov 2008 23:18:06 +0000, MRAB <google at mrabarnett.plus.com>
wrote:
>A list is an ordered collection of items. Each item can be anything: a
>string, an integer, a dictionary, a tuple, a list...
Yup, learned something new today. Naively, I though a list was
index=value, where value=a single piece of data. Works like a charm.
Thanks.
More information about the Python-list
mailing list