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