for deviceid in range(5,9):print api.rt_get_rec_count(dbname);#获取底库数据条数。path = "/home/boyun/tusou_ise/reid_yanshi_images/device%s"%(deviceid) print("path:", path)dirs = os.listdir(path)for file in
grep得到的内容用sed处理 -E or Extended Regular Expressions I mentioned extended regular expressions earlier. FreeBSD (and Mac OS X) uses “-E” to enable this. However, FreeBSD later added the -r command to b