Tweepy to sqlite3
问题 I'm trying to use Twitter's Streaming API to save tweets to a database using sqlite3. The problem is my database comes back empty. I'm using DB Browser for SQLIte to check the schema and the table and columns are there but no values for any column. Any thoughts? #create sql table conn = sqlite3.connect('twitter_one5.db') c = conn.cursor() c.execute('''CREATE TABLE tweets (coordinates integer, place text)''') conn.commit() conn.close() # open connection conn = sqlite3.connect('twitter_one5.db'