>On 08/08/2011 17:09, Mitch Oliver wrote:
>>> Try:
>>>
>>> %TEMP%\gen_py\<2.x>\...
>>
>> That seemed to contain some dummies, but I was able to locate files
>> that had content in site-packages\win32com\gen_py. After deleting the
>> contents of this directory and regenerating only WMI Scripting an
On 08/08/2011 17:09, Mitch Oliver wrote:
Try:
%TEMP%\gen_py\<2.x>\...
That seemed to contain some dummies, but I was able to locate files
that had content in site-packages\win32com\gen_py. After deleting the
contents of this directory and regenerating only WMI Scripting and
WMICntl the code w
> Try:
>
> %TEMP%\gen_py\<2.x>\...
That seemed to contain some dummies, but I was able to locate files
that had content in site-packages\win32com\gen_py. After deleting the
contents of this directory and regenerating only WMI Scripting and
WMICntl the code works.
> (PS Mitch, can you subscribe t
On 08/08/2011 16:35, Mitch Oliver wrote:
I have just tested this on another box, and compiling the Microsoft WMI
Scripting Library typelib definitely breaks it.
Where does makepy write its generated files? Is it possible to unmake
this typelib?
Try:
%TEMP%\gen_py\<2.x>\...
(PS Mitch, can
> I have just tested this on another box, and compiling the Microsoft WMI
> Scripting Library typelib definitely breaks it.
Where does makepy write its generated files? Is it possible to unmake
this typelib?
___
python-win32 mailing list
python-win32@p
35
To: python-win32@python.org
Subject: Re: [python-win32] Calling GetText_(1)
On Fri, Aug 5, 2011 at 4:16 AM, M Saunders TAS wrote:
> Does c.Msvm_VirtualSystemManagementService()[0] actually return anything?
Yes. This returns a wmi_object:
<_wmi_object:
\\serve
On Fri, Aug 5, 2011 at 4:16 AM, M Saunders TAS wrote:
> Does c.Msvm_VirtualSystemManagementService()[0] actually return anything?
Yes. This returns a wmi_object:
<_wmi_object:
\\server_name\root\virtualization:Msvm_VirtualSystemManagementService.CreationClassName="Msvm_VirtualSystemManagementSe
On 04/08/2011 21:21, Mitch Oliver wrote:
I am attempting to work through WMI to control some Hyper-V VMs. I am
unable to call GetText_.
Given the following code:
import wmi
c = wmi.WMI(computer='remoteserver', namespace='virtualization')
mgtSvcs = c.Msvm_VirtualSystemManagementService()[0]
mgt
n.org
[mailto:python-win32-bounces+saunders.m3=we-learn@python.org] On Behalf Of
Mitch Oliver
Sent: 04 August 2011 21:22
To: python-win32@python.org
Subject: [python-win32] Calling GetText_(1)
I am attempting to work through WMI to control some Hyper-V VMs. I am
unable to call GetText_.
I am attempting to work through WMI to control some Hyper-V VMs. I am
unable to call GetText_.
Given the following code:
import wmi
c = wmi.WMI(computer='remoteserver', namespace='virtualization')
mgtSvcs = c.Msvm_VirtualSystemManagementService()[0]
mgtSvcs.GetText_(1)
Returns an AttributeError
10 matches
Mail list logo