2011-06-18から1日間の記事一覧

Pythonを学ぶ(1) HelloWorldでいきなりエラー (Python2とUnicode)

プログラミング言語 Python(パイソン)を入門しようと Hello World を実行したら、いきなりエラーさ。 hello.py # -*- coding:utf-8 -*- print(u'こんにちは') 出力: $ python hello.py Traceback (most recent call last): File "hello.py", line 2, in <module> pr</module>…