programming-examples/python/_Basics/Find out the number of CPUs using.py
2019-11-15 12:59:38 +01:00

2 lines
60 B
Python

import multiprocessing
print(multiprocessing.cpu_count())