7 lines
84 B
Python
Raw Normal View History

2025-03-16 14:11:13 +08:00
# -*- coding: utf-8 -*-
import os
def get_core_count():
return os.cpu_count()