On Thu, Aug 27, 2009 at 2:49 PM, Chris Rebert<c...@rebertia.com> wrote: > On Thu, Aug 27, 2009 at 2:10 PM, jakecjacobson<jakecjacob...@gmail.com> wrote: >> This seems like a real simple newbie question but how can a person >> unencode a string? In Perl I use something like: "$part=~ s/\%([A-Fa- >> f0-9]{2})/pack('C', hex($1))/seg;" >> >> If I have a string like Word1%20Word2%20Word3 I want to get Word1 >> Word2 Word3. Would also like to handle special characters like '",(){} >> [] etc/ > > Use the `uu` module together with the `stringio` module: > http://docs.python.org/library/uu.html > http://docs.python.org/library/stringio.html > > Not sure about special character handling though.
Ah, I misread our post in haste. Please disregard my reply. - Chris -- http://mail.python.org/mailman/listinfo/python-list