def get_paths(): return [] def get_inpus(): return [] pool = Pool(4) paths = pool.map(get_paths, get_input())
EXP for x in seq
EXP for x in seq if COND
x = [COMP] # list set(COMP) lis(COMP) str(COMP) iter(COMP)
iter(obj) next() list(iter), tuple(iter) -> converts iterator to list
iter = (elem.func() for elem in list) list = [elem.func() for elem in list]
list = [elem.func() for elem in list if elem != ""]
$ mkdir foo ;\ virtualenv foo ;\ cd foo ;\ source ./bin/activate ;\ pip install bar ;\ python baz.py ;\ deactivate