quoting strings
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.python archive

quoting strings

From: Michal Duda <vookimedlo@gmail.com>
Date: Tue Jan 31 2006 - 14:31:57 CET

Hi,

is any equivalent to perl "quotemeta" function in python?

I know that I can use this on string: r'\\test'
but I need to do this on the variable

Thanks in advance

Michal
Received on Tue Feb 7 20:20:52 2006