Convert dictionary to HTTP POST

Sybren Stuvel sybrenUSE at YOURthirdtower.com.imagination
Fri Mar 3 09:07:13 EST 2006


Laszlo Zsolt Nagy enlightened us with:
> The values of some inputs are encoded using html entities.  How can
> I decode a string like "Bessy's cat"  in "Bessy's cat"?

This should help:
http://docs.python.org/lib/module-htmlentitydefs.html

Sybren
-- 
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety labels off of everything and let the problem solve itself? 
                                             Frank Zappa



More information about the Python-list mailing list