Skip to content
Permalink
5c9dc2fcbb
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
24 lines (21 sloc) 397 Bytes
import sqlite3
conn = sqlite3.connect('database.db')
cursor = conn.cursor()
# create new table
cursor.execute('''
CREATE TABLE IF NOT EXISTS papers (
email TEXT,
table_name TEXT,
doi TEXT,
pmid TEXT,
title TEXT,
abstract TEXT,
summary TEXT,
mesh_terms TEXT,
scikit_keywords TEXT,
nltk_keywords TEXT,
time TEXT
)
''')
cursor.close()
conn.close()