以下のバージョンで確認しています。
- Python2.x: Python 2.7.10
- Python3.x: Python 3.4.3
...
Python2.xであれば、そのままdecode関数で変換できます。
>>> Word = '\xe3\x81\x82\xe3\x81\x84\xe3\x81\x86'
>>> Word.decode('utf-8')
u'\u3042\u3044\u3046'
>>> print(Word.decode('utf-8'))
あいう
>>>
...
Python3.xでは文字列の扱いが大幅に変更になり、文字列のdecode関数は無くなっています。
どうするのが最良なのか分かりませんでしたが、とりあえず、こうすれば変換できました。
>>> Word = '\xe3\x81\x82\xe3\x81\x84\xe3\x81\x86'
>>> a = bytes.fromhex(' '.join([ "%02X " % ord( x ) for x in Word ]))
>>> print(a)
b'\xe3\x81\x82\xe3\x81\x84\xe3\x81\x86'
>>> a.decode('utf-8')
'あいう'
>>> print(a.decode('utf-8'))
あいう
>>>
参考にしたページ:
Byte to Hex and Hex to Byte String Conversion « Python recipes « ActiveState Code
http://code.activestate.com/recipes/510399-byte-to-hex-and-hex-to-byte-string-conversion/