Skip to content

Python development

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

libfwnt comes with Python-bindings named pyfwnt.

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

Import

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

import pyfwnt

Get version

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

pyfwnt.get_version()

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

Also see

import pyfwnt

help(pyfwnt)
help(pyfwnt.None)
Clone this wiki locally