#!/usr/bin/python

from DBInterface import employeeDB, DBConnection

db = DBConnection.DBConnection("localhost", "cab4employee", "", "cab4employee")
db.connect()
cursor = db.getCursor()
data = {}
data['eid'] 		= "E01"
data['first_name'] 	= "Akshay"
data['last_name'] 	= "Venugopal"
data['date_of_reg'] = "2014-12-01"
data['contact_num'] = "7012779056"
data['account_id'] 	= "A01"
data['time_in']		= "9:30:00"
data['time_out'] 	= "5:30:00"
employeeDB.insertEmployee( cursor, data )
db.commit()
db.close()

5bdff989d2b8818b398aeb27bb610a8a63d01d4f
<mask token>

<mask token>
db.connect()
<mask token>
employeeDB.insertEmployee(cursor, data)
db.commit()
db.close()

<mask token>
db = DBConnection.DBConnection('localhost', 'cab4employee', '', 'cab4employee')
db.connect()
cursor = db.getCursor()
data = {}
data['eid'] = 'E01'
data['first_name'] = 'Akshay'
data['last_name'] = 'Venugopal'
data['date_of_reg'] = '2014-12-01'
data['contact_num'] = '7012779056'
data['account_id'] = 'A01'
data['time_in'] = '9:30:00'
data['time_out'] = '5:30:00'
employeeDB.insertEmployee(cursor, data)
db.commit()
db.close()

from DBInterface import employeeDB, DBConnection
db = DBConnection.DBConnection('localhost', 'cab4employee', '', 'cab4employee')
db.connect()
cursor = db.getCursor()
data = {}
data['eid'] = 'E01'
data['first_name'] = 'Akshay'
data['last_name'] = 'Venugopal'
data['date_of_reg'] = '2014-12-01'
data['contact_num'] = '7012779056'
data['account_id'] = 'A01'
data['time_in'] = '9:30:00'
data['time_out'] = '5:30:00'
employeeDB.insertEmployee(cursor, data)
db.commit()
db.close()

#!/usr/bin/python

from DBInterface import employeeDB, DBConnection

db = DBConnection.DBConnection("localhost", "cab4employee", "", "cab4employee")
db.connect()
cursor = db.getCursor()
data = {}
data['eid'] 		= "E01"
data['first_name'] 	= "Akshay"
data['last_name'] 	= "Venugopal"
data['date_of_reg'] = "2014-12-01"
data['contact_num'] = "7012779056"
data['account_id'] 	= "A01"
data['time_in']		= "9:30:00"
data['time_out'] 	= "5:30:00"
employeeDB.insertEmployee( cursor, data )
db.commit()
db.close()
