Python Obtenha núcleos de CPU
import multiprocessing
multiprocessing.cpu_count()
RyanGar46
import multiprocessing
multiprocessing.cpu_count()