Advertisement
Guest User

Untitled

a guest
Feb 20th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.11 KB | None | 0 0
  1. import multiprocessing
  2.  
  3. with multiprocessing.Pool() as p:
  4.     for f in files:
  5.         p.apply_async(fun, f)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement