getfirst and re
Steve Holden
steve at holdenweb.com
Fri Jan 8 09:34:42 EST 2010
Victor Subervi wrote:
> On Fri, Jan 8, 2010 at 10:11 AM, Carsten Haese <carsten.haese at gmail.com
> <mailto: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
>
What is "why"?
regards
Steve
--
Steve Holden +1 571 484 6266 +1 800 494 3119
PyCon is coming! Atlanta, Feb 2010 http://us.pycon.org/
Holden Web LLC http://www.holdenweb.com/
UPCOMING EVENTS: http://holdenweb.eventbrite.com/
More information about the Python-list
mailing list