忘れないようにメモっとく

機械学習とかプログラミングとか。

2013-04-21から1日間の記事一覧

scrapy command note

scrapy basic command Scrapy has some useful subcommands, like "startproject" I introduced in a previous entry. pythonのフレームワークでサクッとクローラをつくる。"Python Framework Scrapy" - ケンキュウハック This is a note for scrapy subcomm…

MySQL wrapper in python ~ MySQLdb ~

Connection to MySQLMySQLdb provides python db api interface. It has connect() method, which parameters are host, user, passwd and so on. Sample code I tried is as follows. import MySQLdb connect = MySQLdb.connect(host='localhost',db='my_db…