def task_create_file():
    for i in range(3):
        filename = "file%d.txt" % i
        yield {'name': filename,
               'actions': ["touch %s" % filename]}
dataset/ETHPy150Open pydoit/doit/doc/tutorial/subtasks.py/task_create_file/original