ID EN
OS

cpu_count

Python 3.11

Return the number of logical CPUs in the system. Returns None if undetermined.

Syntax

PYTHON
os.cpu_count()