# Import the SQLite functions.
from sqlite3 import *

# Import the date and time function.
from datetime import datetime

#Create a connection to the database.
connection = connect(database = 'event_log.db')

#Get a pointer into the database.
eventLogDB = connection.cursor()

eventNumber = 0
eventNumber = eventNumber + 1
query = "SELECT max(Event_Number) FROM Event_Log"

eventLogDB.execute(query)

results = eventLogDB.fetchall()

print(results[0][0])

connection.commit()
eventLogDB.close()
connection.close()
    

eb903d0e3d201f5485ecc0274dc550b77fd65599
<mask token>

<mask token>
eventLogDB.execute(query)
<mask token>
print(results[0][0])
connection.commit()
eventLogDB.close()
connection.close()

<mask token>
connection = connect(database='event_log.db')
eventLogDB = connection.cursor()
eventNumber = 0
eventNumber = eventNumber + 1
query = 'SELECT max(Event_Number) FROM Event_Log'
eventLogDB.execute(query)
results = eventLogDB.fetchall()
print(results[0][0])
connection.commit()
eventLogDB.close()
connection.close()

from sqlite3 import *
from datetime import datetime
connection = connect(database='event_log.db')
eventLogDB = connection.cursor()
eventNumber = 0
eventNumber = eventNumber + 1
query = 'SELECT max(Event_Number) FROM Event_Log'
eventLogDB.execute(query)
results = eventLogDB.fetchall()
print(results[0][0])
connection.commit()
eventLogDB.close()
connection.close()

# Import the SQLite functions.
from sqlite3 import *

# Import the date and time function.
from datetime import datetime

#Create a connection to the database.
connection = connect(database = 'event_log.db')

#Get a pointer into the database.
eventLogDB = connection.cursor()

eventNumber = 0
eventNumber = eventNumber + 1
query = "SELECT max(Event_Number) FROM Event_Log"

eventLogDB.execute(query)

results = eventLogDB.fetchall()

print(results[0][0])

connection.commit()
eventLogDB.close()
connection.close()
    
