Programming/Python
[리스트] 리스트를 한글로 출력하기
푸어맨
2017. 8. 11. 18:25
>>> a = ['한글','영어','수학']
>>> print a
['\xc7\xd1\xb1\xdb', '\xbf\xb5\xbe\xee', '\xbc\xf6\xc7\xd0']
>>> print repr(a).decode('string-escape')
['한글', '영어', '수학']
- Reference