Home
/
Python 3.11
/
OS
/
cpu_count
Python 3.0
Python 3.9
Python 3.11
Functions
ID
EN
…
OS
cpu_count
Python 3.11
Return the number of logical CPUs in the system. Returns None if undetermined.
Syntax
PYTHON
Copy
os.cpu_count()