12 lines
221 B
Python
12 lines
221 B
Python
|
"""
|
||
|
Insert value into addressbook
|
||
|
"""
|
||
|
|
||
|
from helper_sql import sqlExecute
|
||
|
|
||
|
|
||
|
def insert(address, label):
|
||
|
"""perform insert into addressbook"""
|
||
|
|
||
|
sqlExecute('''INSERT INTO addressbook VALUES (?,?)''', label, address)
|