To make talking about it easier, I've slightly reworked
your code to make it run completely (ie I've added imports and
the initialisation of the data structures) and
to take advantage of the wmi module's built-in features.
Hopefully it's perfectly clear what's going on; I've just avoided
some
Nick Moszer wrote:
Hello,
I'm occasionally receiving the following error when doing a set of queries:
Traceback (most recent call last):
File "psg5220_demo.py", line 236, in find_hdd_drives
partitions = services.query(query)
File "...path..\wmi.py", line 889, in query
return [ _wmi
Hello,
I'm occasionally receiving the following error when doing a set of queries:
Traceback (most recent call last):
File "psg5220_demo.py", line 236, in find_hdd_drives
partitions = services.query(query)
File "...path..\wmi.py", line 889, in query
return [ _wmi_object (obj, instance_o
Hello,
I'm occasionally receiving the following error when doing a set of queries:
Traceback (most recent call last):
File "psg5220_demo.py", line 236, in find_hdd_drives
partitions = services.query(query)
File "...path..\wmi.py", line 889, in query
return [ _wmi_object (obj, instance_o