というわけでvimも少しづつ触りながらいじってみた。 名前決めてないんだけどさー。 Excelでデータ入れれるのってやっぱいいよね! ニーズ的にびみょーなんだけどdoctestやpyunitxから使えるように関数化しておいた方が良いのではないか。 dbunit/__init__.py import dataset import unittest DEBUG = False def read_xls_write_db(engine, connection, file): reader = dataset.XlsReader(file) for table in reader.dataset : _insert(engine, connection, table) def read_xls_all_replace_db(engine, connection, file): reader = d