def insertdataintable(table, datavalue): rowfield = [] rowfield.append(TIMEFIELD) rowfield.append(DATAFIELD) rowvalue = [] rowvalue.append(datetime.now().replace(microsecond=0)) rowvalue.append(datavalue) databasemod.insertrowfields(DBFILENAME, table, rowfield, rowvalue)
def insertdataintable(table,datavalue): rowfield=[] rowfield.append(TIMEFIELD) rowfield.append(DATAFIELD) rowvalue=[] rowvalue.append(datetime.now().replace(microsecond=0)) rowvalue.append(datavalue) databasemod.insertrowfields(DBFILENAME,table,rowfield,rowvalue)
def insertrowfields(rowfield, rowvalue): databasemod.insertrowfields(DBFILENAME, DBTABLE, rowfield, rowvalue)
def insertrowfields(table, rowfield, rowvalue): databasemod.insertrowfields(DBFILENAME, table, rowfield, rowvalue)