Shoken Startup Blog

KitchHike Founder/CTO

Python

Python VS Ruby をGoogle Trendsで見てみる

Google Trendsとは、特定のキーワードについて、検索件数の増減の時間的な推移をグラフで確認できるGoogleのWebサービスです。 PythonとRubyのトレンドが世界ではどのようになっているのか、確認できます。 *8/2追記 以下の結果は、Googleの検索キーワード…

'str' object is not callable

'str' object is not callable というエラーでつまった。 Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: 'str' object is not callable解決方法 strという変数を作らない >>> d=1234 >>> str=str(d) >>> print str 1234 >>> str=str(</module></stdin>…

Pythonエディター、Scribes

Python情報を探していたら、偶然良さげなエディターを見つけた。 Scribes - Simple And Powerful Text Editor for GNOME 補完機能、テンプレートエディター機能付き。 動画で機能を解説してあるからわかりやすい。 Scribes - Screenshots Ubuntuのパッケージ…

UnicodeEncodeErrorの解決方法

エラー文 UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-1: ordinal not in range(128)結論を先に書きますと、下記のページのやり方で解決できました。 [Python] UnicodeEncodeErrorが発生した場合は、sitecustomize.pyでデフォ…

Gedit + ViGedit でPython開発環境

最近、PythonかRubyを学んだ方が良いのではないかと不安になってきたので、なんとなくPythonを選択してみた。 入門ページを一通り読んで飽きてきたので、良い開発環境はないかなと探した結果、見つけた(再発見?)のがGedit。 GeditはデフォルトでGnomeについ…