线程 ing 分类: python 2013-07-15 14:28 197人阅读 评论(0) 收藏

import threading

def test(a,b):
    print a, b

p = threading.Thread(target=test, args=(1,2,))
p.start()

posted @ 2013-07-15 14:28  前行者2011  阅读(101)  评论(0编辑  收藏  举报