Ubuntu Python2.7 使用中です。
shell
1Python 2.7.10 (default, Oct 14 2015, 16:09:02) 2[GCC 5.2.1 20151010] on linux2 3Type "help", "copyright", "credits" or "license" for more information. 4>>> a = {} 5>>> a["b"] = u"テスト" 6>>> a["b"] 7u'\u30c6\u30b9\u30c8' 8>>> print a["b"] 9テスト 10
上記のように、print文を使わないと、ユニコード文字を表示してくれないのですが、エスケープされない方法はありますか?
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2016/08/08 01:19