mirror of
https://github.com/metafy-social/python-scripts.git
synced 2024-11-27 22:11:10 +00:00
12 lines
340 B
Python
12 lines
340 B
Python
import wmi
|
|
|
|
c = wmi.WMI()
|
|
my_system = c.Win32_ComputerSystem()[0]
|
|
|
|
print(f"Manufacturer: {my_system.Manufacturer}")
|
|
print(f"Model: {my_system. Model}")
|
|
print(f"Name: {my_system.Name}")
|
|
print(f"NumberOfProcessors: {my_system.NumberOfProcessors}")
|
|
print(f"SystemType: {my_system.SystemType}")
|
|
print(f"SystemFamily: {my_system.SystemFamily}")
|