I\'m trying to get the number of physical and logical processors on a given system via Python (v2.7). When I try:
import multiprocessing print multiprocessing.cpu