'''
Created on 2017/01/31

@author: Brian
'''
import sqlite3
from os.path import isfile, getsize

defaultDatabase = "textToolStrings.db"

def create_table():
    conn = sqlite3.connect(defaultDatabase)
    curs = conn.cursor()
    curs.execute('CREATE TABLE IF NOT EXISTS textStrings(strings TEXT)')
    curs.close()
    conn.close()
    
def data_entry(stringValue):
    conn = sqlite3.connect(defaultDatabase)
    curs = conn.cursor()
    curs.execute("INSERT INTO textStrings (strings) VALUES (?)", (stringValue,))
    conn.commit()
    curs.close()
    conn.close()

e3a9fd96544ea0bece3c30299412dfb1967c8d13
<mask token>

<mask token>


def create_table():
    conn = sqlite3.connect(defaultDatabase)
    curs = conn.cursor()
    curs.execute('CREATE TABLE IF NOT EXISTS textStrings(strings TEXT)')
    curs.close()
    conn.close()


def data_entry(stringValue):
    conn = sqlite3.connect(defaultDatabase)
    curs = conn.cursor()
    curs.execute('INSERT INTO textStrings (strings) VALUES (?)', (stringValue,)
        )
    conn.commit()
    curs.close()
    conn.close()

<mask token>
defaultDatabase = 'textToolStrings.db'


def create_table():
    conn = sqlite3.connect(defaultDatabase)
    curs = conn.cursor()
    curs.execute('CREATE TABLE IF NOT EXISTS textStrings(strings TEXT)')
    curs.close()
    conn.close()


def data_entry(stringValue):
    conn = sqlite3.connect(defaultDatabase)
    curs = conn.cursor()
    curs.execute('INSERT INTO textStrings (strings) VALUES (?)', (stringValue,)
        )
    conn.commit()
    curs.close()
    conn.close()

<mask token>
import sqlite3
from os.path import isfile, getsize
defaultDatabase = 'textToolStrings.db'


def create_table():
    conn = sqlite3.connect(defaultDatabase)
    curs = conn.cursor()
    curs.execute('CREATE TABLE IF NOT EXISTS textStrings(strings TEXT)')
    curs.close()
    conn.close()


def data_entry(stringValue):
    conn = sqlite3.connect(defaultDatabase)
    curs = conn.cursor()
    curs.execute('INSERT INTO textStrings (strings) VALUES (?)', (stringValue,)
        )
    conn.commit()
    curs.close()
    conn.close()

'''
Created on 2017/01/31

@author: Brian
'''
import sqlite3
from os.path import isfile, getsize

defaultDatabase = "textToolStrings.db"

def create_table():
    conn = sqlite3.connect(defaultDatabase)
    curs = conn.cursor()
    curs.execute('CREATE TABLE IF NOT EXISTS textStrings(strings TEXT)')
    curs.close()
    conn.close()
    
def data_entry(stringValue):
    conn = sqlite3.connect(defaultDatabase)
    curs = conn.cursor()
    curs.execute("INSERT INTO textStrings (strings) VALUES (?)", (stringValue,))
    conn.commit()
    curs.close()
    conn.close()
