程序运行报错:
sqlite3.OperationalError: near "m": syntax error
cursor.execute("insert into exception values('%s','%s','%s', '%s' );"%(ti , agv , error_code ,obs))
遇到这种情况应该观察你创建数据库的表格时 ,对表格元素 的 数据类型
cursor.execute("insert into exception values('%s', %d,%d, '%s' );"%(ti , agv , error_code ,obs))