def sqlquery(ip):查询数据 where host=ip
要在多20台数据库查询,多进程应该怎样写?手机手打不方便,应该描述清楚了意思,谢谢。
用multiprocessing启动多个进程,然后用queue传递对应的参数。