首页 > TAG信息列表 > MyThreading

多线程理解,以及代码实现

import threadingclass MyThreading(threading.Thread): def run(self): print("Hello,world!")my_threading = MyThreading()my_threading2 = MyThreading()my_threading.start()my_threading2.start()def my_fun(): print("I LOVE YOU")th