Skip to content

Python development

Joachim Metz edited this page Jul 15, 2022 · 1 revision

libvsapm comes with Python-bindings named pyvsapm.

Below are examples how use pyvsapm. They assume you have a working version of pyvsapm on your system. To build pyvsapm see Building.

Import

To be able to use pyvsapm in your Python scripts add the following import:

import pyvsapm

Get version

The get_version() module function can be used to retrieve the version of the pyvsapm.

pyvsapm.get_version()

This will return a textual string (Unicode) that contains the libvsapm version. Since pyvsapm is a wrapper around libvsapm it does not have a separate version.

Also see

import pyvsapm

help(pyvsapm)
help(pyvsapm.None)

Clone this wiki locally