How to create raw string from string variable in python?
There is no such thing as “raw string” once the string is created in the process. The “” and r”” ways of specifying the string exist only in the source code itself. That means “\x01″ will create a string consisting of one byte 0x01, but r”\x01” will create a string consisting of 4 bytes ‘0x5c’, … Read more