print results in mysql format with python,conn.commit()