Python Forum

Full Version: Read the Processor . . .
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello
I'm using the platform module with the function ( machine ), which returns the architecture of the processor, but I need to know how many ( Core ) are in the processor, which would be the path of the stones ?
import psutil

print("Physical cores:", psutil.cpu_count(logical=False))