a=M()
a.start()
print dir(a)
import time
time.sleep(3)
import signal
a._Thread__stop()
print a._Thread__stopped True | False
微信扫一扫
a=M()
a.start()
print dir(a)
import time
time.sleep(3)
import signal
a._Thread__stop()
print a._Thread__stopped True | False
相关推荐