我发现了两种不同的初始化线程的方法。
我想知道什么是最好的:
class Class_name(Thread):
"""docstring for the class"""
def __init__(self):
super(Class_name, self).__init__()
或
class Class_name(Thread):
"""docstring for the class"""
def __init__(self):
Thread.__init__(self)
如果有人知道哪个是最好的,以及它有什么不同,那将帮助我选择。