regular expressions use

Fredrik Lundh fredrik at pythonware.com
Mon Aug 22 08:18:19 EDT 2005


"max(01)*" <max2 at fisso.casa> wrote:

> i would like to do some uri-decoding, which means to translate patterns
> like "%2b/dhg-%3b %7E" into "+/dhg-; ~"

>>> import urllib
>>> urllib.unquote("%2b/dhg-%3b %7E")
'+/dhg-; ~'

</F> 






More information about the Python-list mailing list