Hello:
I need to program some funtions with VIX API but I need do it in python. For this purpose I need to import dll, etc to python... and call vix functions from a python script...
someone can helps me??
thanks!
There are some existing third party Python version of VIX available.
Note: none of these are supported or maintained by VMware.
http://sourceforge.net/projects/pyvix/ (hasn't been maintained for many years)
http://code.google.com/p/randomizedcode/downloads/list (fork of pyvix, doesn't seem to have much activity recently).
http://code.google.com/p/pyvmware/
If you want to do something quick and dirty, the ctypes module in Python will let you load the DLL and call functions:
http://docs.python.org/library/ctypes.html#module-ctypes
Hope this helps.
Your post has been moved to the VIX API forum.
Dave
VMware Communities User Moderator
Now available - vSphere Quick Start Guide
Do you have a system or PCI card working with VMDirectPath? Submit your specs to the Unofficial VMDirectPath HCL.
There are some existing third party Python version of VIX available.
Note: none of these are supported or maintained by VMware.
http://sourceforge.net/projects/pyvix/ (hasn't been maintained for many years)
http://code.google.com/p/randomizedcode/downloads/list (fork of pyvix, doesn't seem to have much activity recently).
http://code.google.com/p/pyvmware/
If you want to do something quick and dirty, the ctypes module in Python will let you load the DLL and call functions:
http://docs.python.org/library/ctypes.html#module-ctypes
Hope this helps.
Oh thanks but I have soluted it yet!! I were seing the pyvix and pyvmware, but I don´t like because I want work in python 3.2. Using ctypes I have obtained that I need.
I call dll functions from a python module and work with them.
Thank you very much
An option for Python running VMware Workstation, Fusion, and Player is NrvrCommander at https://github.com/srguiwiz/nrvr-commander and the blog that goes with it at http://leosbog.nrvr.com/category/nrvrcommander/ .