Skip to content

Instantly share code, notes, and snippets.

@vaibhavkumargautam
Last active October 8, 2021 08:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vaibhavkumargautam/7ac689a73ebf20774cbb8bb8e55f0daf to your computer and use it in GitHub Desktop.
Save vaibhavkumargautam/7ac689a73ebf20774cbb8bb8e55f0daf to your computer and use it in GitHub Desktop.
import multiprocessing
if __name__ == '__main__':
p = multiprocessing.Pool()
dd=list(range(1, 500))
for n in range(0, len(dd)):
p.apply_async(multip(n) )
p.close()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment