2013-07-21から1日間の記事一覧
ローカルでは正しくモジュールをimport できても、GAE Lanceherではエラーとなる■ローカルでは正常 C:\PythonLib\python-twitter-1.0>python Python 2.7.5 (default, May 15 2013, 22:43:36) [MSC v.1500 32 bit (I Type "help", "copyright", "credits" or …
Pythonには「テンプレートシステム」という考え方があるらしい。 テンプレートの使用コードに HTML が埋め込んであると、コードを追いにくくなり保守が困難です。このような場合はテンプレート システムを使用すると便利です。テンプレート システムは、アプ…
python-twitter-0.8.5(※1)をインストールし実行するもエラー。■API1 ->1.1を使ってねとエラー表示 >>> api = twitter.Api() >>> statuses = api.GetUserTimeline('iroironashi') Traceback (most recent call last): File "", line 1, in File "C:\Python…
カレントディレクトリには注意しましょう。■エラー C:\Python27\Scripts>python C:\PythonLib\simplejson-3.3.0\setup.py install Traceback (most recent call last): File "C:\PythonLib\simplejson-3.3.0\setup.py", line 14, in with open('README.rst',…