Python 的一段小代码,可能需要多线程

2025-03-18 22:48:35
推荐回答(1个)
回答1:

这要个啥的多线程

def test():
        while True:
                a = raw_input('hello word:    ')
                if a == 'hello boy':
                        print 'asdasda'
                time.sleep(1)