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

2 lines
60 B
Python
Raw Normal View History

2019-11-18 14:44:36 +01:00
import multiprocessing
print(multiprocessing.cpu_count())