<div class="gmail_quote">On Fri, Jan 8, 2010 at 1:26 PM, Steve Holden <span dir="ltr"><<a href="mailto:steve@holdenweb.com" target="_blank">steve@holdenweb.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div>MRAB wrote:<br>
> Victor Subervi wrote:<br>
> [snip]<br>
>><br>
>> Code snippet:<br>
>><br>
>> def cgiFieldStorageToDict(fieldStorage):<br>
</div>                             ^^^^^^^^^^^^<br>
Further hint ...<br>
<div><br>
>>   params = {}<br>
>>   for key in fieldStorage.keys():<br>
>>     params[key] = cgi.FieldStorage[key].value<br>
>                     ^^^^^^^^^^^^^^^^^^^^^<br>
> This is your problem.<br></div></blockquote><div><br>The problem is that I don't understand this code that I exactly copied from a Web page tutorial. Can you folks point me to tutorials where I can learn to comprehend this code? Specifically, the line in question. How is it that one can code "params[key]" (what does that mean?) and the other side, what does that mean<br>


</div></div>