Question: How can I convert a string like `'\\x41'` to an escaped string like `'\x41'`, using Python?

Answer: 
```
>>> '\\x41'.decode('string_escape')
'A'

```

Gory details [here](http://docs.python.org/library/codecs.html#standard-encodings).
I don't really understand your question, but I'll try to give you some solutions.

1. If you gonna print pure '\x41', you could just

> 
> `print r'\x41'`
> 
> 
> 

1. And if what you want is to print the 'A' out, pls do:

> 
> `print u'\x41'`
> 
> 
>