2018年1月8日 星期一

Python: Find out the number of CPUs using

Python: Find out the number of CPUs using

Python Basic: Exercise-47 with Solution

Write a Python program to find out the number of CPUs using.
Sample Solution:-
import multiprocessing
print(multiprocessing.cpu_count())

=========== RESTART: F:/Python_APSC/py-ex-basic-47.py =============
4
>>> 

沒有留言:

張貼留言

OPEN DATA AQI 空氣品質監測網 + NODE-RED

OPEN DATA AQI 空氣品質監測網 + NODE-RED  首頁 - 空氣品質監測網  https://airtw.moenv.gov.tw/ https://data.gov.tw/datasets/search?p=1&size=10&s=_score...