Skip to content

Python development

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

libvsmbr comes with Python-bindings named pyvsmbr.

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

Import

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

import pyvsmbr

Get version

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

pyvsmbr.get_version()

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

Also see

import pyvsmbr

help(pyvsmbr)
help(pyvsmbr.None)

Clone this wiki locally