python mysql查询判空_python 操作查询mysql数据库 如何判断返回是否为空值?
cam_ID=int(mv_ar_num+mv_m_cam)printcam_IDcam_id=[cam_ID]print"cam_id:%s"%cam_idcur.execute("selectCam_IDfromCam_loc_tblwhereCam_ID=%d;"%cam_ID)#//(从数据库中查询cam_ID的...cam_ID=int(mv_ar_num+mv_m_cam)print ...