2014-08-08から1日間の記事一覧
よく忘れるので記載。・イメージ print(x*【xのrangeの値】+y) for x in range(9): for y in range(9): print(x*9+y) ・結果 0 1 2 3 4 5 6 7 8 9 10 11 12 13 . . 80最期の値は【xのrangeの値】×【yのrangeの値】-1 0開始だから。
Imaging-1.1.7をDLし、 /Imaging-1.1.7ディレクトリに入る。 sudo python setup.py install_imagingft.c:73:10: fatal error: 'freetype/fterrors.h' file not found #include <freetype/fterrors.h> ^ 1 error generated. error: command 'cc' failed with exit status 1の変なエ</freetype/fterrors.h>…
OSに対してのwxを呼び出すと、 import wx ImportError: No module named wxのようにエラー。URL: http://stackoverflow.com/questions/10457647/how-do-i-install-wxpython-in-virtualenv本来のパス(OSのwxのインストール先)に対して、自分のvirtualenvの…
import wxした時に import wx Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/local/lib/wxPython-3.0.0.0/lib/python2.7/site-packages/wx-3.0-osx_carbon/wx/__init__.py", line 45, in <module> from wx._core import * File "/usr/local/l</module></module></stdin>…
PythonでPILを使っているのを.dmg化する?http://osdir.com/ml/python-apple/2008-07/msg00033.html
忘れやすいのでメモ。 サウンドファイルのInspectorで設定する。 チェックを外す。