sp 10 def snmp somearg pass for blink in list sp threading Tread targe

1
2
3
4
5
sp=[1,2,3,4,5,6,7,8,9,10]
def snmp(somearg):
pass
for blink in list(sp):
threading.Tread(target=snmp, args=str(blink)).start()