Hello bats, on Fri, 20. Feb 2004 at 16:37:44 +0100 Carsten Thönges wrote:
>> Is it possible to convert %20 back to space or any other special chars >> to its "real value"? C> Python. I was sure you would come up with that.. :) Now I'm just installing Python. I hope it works with the cygwin version?! We'll see.. C> --8<---------------cut here---------------start------------->8--- C> %_tbvar="Peter%%20Palmreuther" C> %Py(" C> import urllib C> quoted_string = tb.macro(r'%%_tbvar') what's the 'r' for? C> print urllib.unquote(quoted_string) simple.. :) -- shinE! http://www.thequod.de ICQ#152282665 GnuPG/PGP key: http://thequod.de/danielhahler.asc Using The Bat! v2.04.4 on Windows XP 5.1 Build 2600 Service Pack 1 with POPFile 0.20.1 and avast Jan2004 (4.1.342) ________________________________________________________ http://www.silverstones.com/thebat/TBUDLInfo.html