programming-examples/python/_Basics/Find out the number of CPUs using.py

2 lines
60 B
Python
Raw Normal View History

2019-11-15 12:59:38 +01:00
import multiprocessing
print(multiprocessing.cpu_count())