37,743
社区成员




class tt(threading.Thread):
def __init__(self):
threading.Thread.__init__(self)
def run(self):
while True:
i = input('>')
import threading
class tt(threading.Thread):
def __init__(self):
threading.Thread.__init__(self)
def run(self):
while True:
a = input('enter:')
def main():
a = 0
my_t = tt()
my_t.start()
while True:
a = a+1
print('hello',a)
main()
这个是3.4版本的 按理应该是一直输出 hello a 但是 你试试