添加多线程
2017-07-15 本文已影响0人
Do_More
import threading
def thread_job():
print("this is an added Thread,number is %s" % threading.current_thread())
def main():
added_thread = threading.Thread(target=thread_job)
added_thread.start()
if __name__ == '__main__':
main()