# -*- coding: utf-8 -*- # easy_install python_twitter import twitter import sys import codecs import dateutil.parser import datetime import time from peewee import * db = SqliteDatabase('twitter_stream.sqlite') class Twitte(Model): createAt = DateTimeField(index=True) idStr = CharField(index=True) contents = CharField() class Meta: database = db # easy_install の最新版でGetStreamFilterがなければ下記のコード追加 # h