getfirst and re

Victor Subervi victorsubervi at gmail.com
Fri Jan 8 09:22:35 EST 2010


On Fri, Jan 8, 2010 at 10:11 AM, Carsten Haese <carsten.haese at gmail.com>wrote:

> Victor Subervi wrote:
> > Code snippet:
> > [...]
> >
> > Error:
> > [...]
> > What do?
>
> After eliminating the pieces of your post that have been copied or
> quoted from elsewhere, I am left with a total of five words of your own
> to ask this question, which seems to be approximately the same amount of
> effort you have put into trying to figure out what's causing the error.
>

First I get scolded for not including enough information. Now I get scolded
for including too much. Seems I can't win. I *am* putting effort into
understanding this. I'm sorry I'm not as sharp as you are in these matters.

params = {}, key = 'store', global cgi = <module 'cgi' from
'/usr/lib64/python2.4/cgi.pyc'
>, cgi.FieldStorage = <class cgi.FieldStorage>, ].value undefined

TypeError: unsubscriptable object
      args = ('unsubscriptable object',)

Why is the value undefined? What is an unsubscriptable object?
TIA,
beno
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20100108/2076d3f9/attachment-0001.html>


More information about the Python-list mailing list