"Atila Olah" <[EMAIL PROTECTED]> writes:
> for key in form.keys():
>     if not form.keys()[key]: # True if it's a value is None

Ugh!  I think you mean

   for key, value in form.items():
      if not value: 

These days you can also say iteritems instead of items and avoid
building a potentially large list in memory.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to