1 Star 0 Fork 769

win every / hikyuu

forked from fasiondog / hikyuu 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
temp.py 280 Bytes
一键复制 编辑 原始数据 按行查看 历史
fasiondog 提交于 2020-05-07 00:12 . steal group (continue)
from hikyuu.interactive.interactive import *
class TTT(Task):
def __init__(self, x):
super(TTT, self).__init__()
self.x = x
def run(self):
print(self.x)
ts = []
tg = TaskGroup(2)
for i in range(5):
tg.addTask(TTT(i))
tg.join()
Python
1
https://gitee.com/hexiwin/hikyuu.git
git@gitee.com:hexiwin/hikyuu.git
hexiwin
hikyuu
hikyuu
master

搜索帮助