quoting strings



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
.