So for this assignment I'm writing a simple python program using IDLE (Python 3.11), and it wont run because it says it can find the wmi. Which I think was supposed to be part of my initial download, but I'm not sure. Help? **You are going to create a second program named PA1_SystemInfo.py. Go to File and select new File. Save the new screen as PA1_SystemInfo and click the save button. Add the following lines 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}") Now run the program. Take a screenshot of your output
So for this assignment I'm writing a simple python program using IDLE (Python 3.11), and it wont run because it says it can find the wmi. Which I think was supposed to be part of my initial download, but I'm not sure. Help?
**You are going to create a second program named PA1_SystemInfo.py. Go to File and select new File.
Save the new screen as PA1_SystemInfo and click the save button.
Add the following lines
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}")
Now run the program. Take a screenshot of your output
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 2 images