Anzahl vorhandener CPUs feststellen
Hi, kann man mit Python feststellen, wie viele CPUs im System vorhanden sind? Oder muss ich in /sys (Linux) selbst danach suchen?
Das schwierigste beim Programmieren ist, sinnvolle Variablen- und Funktionsnamen zu finden :lol:
Code: Alles auswählen
import multiprocessing
multiprocessing.cpu_count()
the more they change the more they stay the same