Add backslash before all escape characters in python
Useful for using in regular expressions: import re re.escape( str ) Python detects all escape characters that can be used by regex and add slash before them [http://docs.python.org/2/library/re.html#re.escape](http://docs.python.org/2/library/re.html#re.escape)