2008-02-15から1日間の記事一覧
unicodeにすれば日本語にlowerとupperを使っても問題ないのね。 >>> print os.getcwd().lower() c:\documents and settings\tk\デベハトップ >>> print os.getcwdu().lower() c:\documents and settings\tk\デスクトップ
はまったらメモということで。 PILでJpegファイルを扱おうとしたら、"IOError: decoder jpeg not available"となったので調べてみたら、PILインストール時に"JPEG support not available"となっていた。 どうやらlibjpeg-devが足りなかったらしい。 ちなみに…