Python:Python2系でstrをunicode型として扱う 2019/12/28 プログラミング python from __future__ import unicode_literals をimportに追加する これで、「u’文字列’」を使用しなくてもunicode型としてstrが扱われる 戻る Please enable JavaScript to view the comments powered by Disqus. comments powered by Disqus