-
Notifications
You must be signed in to change notification settings - Fork 11
Python development
Joachim Metz edited this page Jul 15, 2022
·
1 revision
libvslvm comes with Python-bindings named pyvslvm.
Below are examples how use pyvslvm. They assume you have a working version of pyvslvm on your system. To build pyvslvm see Building.
To be able to use pyvslvm in your Python scripts add the following import:
import pyvslvm
The get_version() module function can be used to retrieve the version of the pyvslvm.
pyvslvm.get_version()
This will return a textual string (Unicode) that contains the libvslvm version. Since pyvslvm is a wrapper around libvslvm it does not have a separate version.
import pyvslvm
help(pyvslvm)
help(pyvslvm.None)