Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import multiprocessing
- with multiprocessing.Pool() as p:
- for f in files:
- p.apply_async(fun, f)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement