← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #151008]: Could Sikuli import wmi.py?

 

Question #151008 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/151008

    Status: Open => Answered

RaiMan proposed the following answer:
As the doc tells you:

"The Python WMI module is a lightweight wrapper on top of the pywin32
extensions,"

so it needs the pywin32 module too.

But I guess, even if you make it available, you will not be able to use
wmi, since I guess pywin32 is C-based. Such modules cannot be imported
in the Sikuli/Jython environment.

You have to look for a solution, that is Jython compatible or something,
that is totally written in Python.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.