Skip to content

Instantly share code, notes, and snippets.

@vgk77
Created January 15, 2019 16:33
Show Gist options
  • Select an option

  • Save vgk77/2743e785ce97de05efb0494432c45b38 to your computer and use it in GitHub Desktop.

Select an option

Save vgk77/2743e785ce97de05efb0494432c45b38 to your computer and use it in GitHub Desktop.
How much CPU count #python
import multiprocessing as mp
print(mp.cpu_count())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment