試してみようと思ったけど、gitが全然わからない。。。

うん、明日、ExpertPythonを買います。

Read and Post Comments

python2.7で以下を実行すると、エラーになりました。

>>>import sqlite3

Traceback (most recent call last):
File "", line 1, in 
File "/usr/local/lib/python2.6/sqlite3/__init__.py", line 24, in 
from dbapi2 import *
File "/usr/local/lib/python2.6/sqlite3/dbapi2.py", line 27, in 
from _sqlite3 import *
ImportError: No module named _sqlite3

pythonをmake intallするとなおりましたヽ(`Д´)ノウワァァァン!!

Read and Post Comments

oauthを参考に、はてなハイクAPIに投稿するサンプルを作成しました(/ω\)<コードはlaunchpadに置いてます。

http://bazaar.launchpad.net/~toenobu/+junk/hatenaHaiku/view/head:/haiku.py
Read and Post Comments

とりあえず、zineのバージョンを0.2-devにして投稿!m9( ゚д゚) ビシッ
sqlite 3.7.7.1で動作中です。

Read and Post Comments

This post contains some highlighted python code:

import this

if __name__ == "main":
    print "Hello, World!"
Read and Post Comments

« Previous Page