Python Forum
wmi returns no data from an other pc
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
wmi returns no data from an other pc
#4
I see you've edited your original code, it is better to post your corrected code in a new reply, allowing other members to follow along.  As it stands, the indentation is wrong on your final "print(hdd)" and once corrected it will still only print the last definition of "hdd".

Quote:So...the correct code...is?

I'm not going to write the code for you, what fun is that for you  Smile .  I would suggest that you visit the website for wmi, read the prerequisites, the tutorial and check out their examples to see if wmi fits your needs.  It's a bit unclear when you say you want to "secure" your program and how you hope to accomplish that by gathering information about the hard drive and processor.
If it ain't broke, I just haven't gotten to it yet.
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition
Reply


Messages In This Thread
wmi returns no data from an other pc - by panoss - May-29-2017, 12:15 PM
RE: wmi returns no data from an other pc - by sparkz_alot - May-29-2017, 03:11 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How returns behave in a function with multiple returns? khasbay 1 315 May-19-2024, 08:48 AM
Last Post: deanhystad

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020