Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Read the Processor . . .
#1
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 ?
Reply
#2
import psutil

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


Possibly Related Threads…
Thread Author Replies Views Last Post
  Installing Miniforge for Apple m1 Processor Led_Zeppelin 2 5,801 Jun-25-2021, 08:45 PM
Last Post: snippsat

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020