Are you just trying to get the string `\\` (two slashes?). You may want to consider using a real string instead. `r'\\'`