#!/usr/bin/python
import sqlite3




conn = sqlite3.connect('webstats.db')
print ("Opened database successfully")

conn.execute("DROP TABLE RAWSTATS;")
print("Table Dropped!")


try:
    conn.execute('''CREATE TABLE RAWSTATS
           (ID INTEGER PRIMARY KEY       AUTOINCREMENT,
           PAGEURL           TEXT    NOT NULL,
           CLIENTIP          TEXT     NOT NULL,
           DATE        TEXT          NOT NULL);''')
           
    print ("Table created successfully")
except:
    print("Table Already Setup")


conn.close()
b9d853cd7bdc93d47b2fd78d5c58037f2ed98e8e
<mask token>

<mask token>
print('Opened database successfully')
conn.execute('DROP TABLE RAWSTATS;')
print('Table Dropped!')
try:
    conn.execute(
        """CREATE TABLE RAWSTATS
           (ID INTEGER PRIMARY KEY       AUTOINCREMENT,
           PAGEURL           TEXT    NOT NULL,
           CLIENTIP          TEXT     NOT NULL,
           DATE        TEXT          NOT NULL);"""
        )
    print('Table created successfully')
except:
    print('Table Already Setup')
conn.close()

<mask token>
conn = sqlite3.connect('webstats.db')
print('Opened database successfully')
conn.execute('DROP TABLE RAWSTATS;')
print('Table Dropped!')
try:
    conn.execute(
        """CREATE TABLE RAWSTATS
           (ID INTEGER PRIMARY KEY       AUTOINCREMENT,
           PAGEURL           TEXT    NOT NULL,
           CLIENTIP          TEXT     NOT NULL,
           DATE        TEXT          NOT NULL);"""
        )
    print('Table created successfully')
except:
    print('Table Already Setup')
conn.close()

import sqlite3
conn = sqlite3.connect('webstats.db')
print('Opened database successfully')
conn.execute('DROP TABLE RAWSTATS;')
print('Table Dropped!')
try:
    conn.execute(
        """CREATE TABLE RAWSTATS
           (ID INTEGER PRIMARY KEY       AUTOINCREMENT,
           PAGEURL           TEXT    NOT NULL,
           CLIENTIP          TEXT     NOT NULL,
           DATE        TEXT          NOT NULL);"""
        )
    print('Table created successfully')
except:
    print('Table Already Setup')
conn.close()

#!/usr/bin/python
import sqlite3




conn = sqlite3.connect('webstats.db')
print ("Opened database successfully")

conn.execute("DROP TABLE RAWSTATS;")
print("Table Dropped!")


try:
    conn.execute('''CREATE TABLE RAWSTATS
           (ID INTEGER PRIMARY KEY       AUTOINCREMENT,
           PAGEURL           TEXT    NOT NULL,
           CLIENTIP          TEXT     NOT NULL,
           DATE        TEXT          NOT NULL);''')
           
    print ("Table created successfully")
except:
    print("Table Already Setup")


conn.close()