Skip to content

Python development

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

libfwps comes with Python-bindings named pyfwps.

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

Import

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

import pyfwps

Get version

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

pyfwps.get_version()

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

Also see

import pyfwps

help(pyfwps)
help(pyfwps.None)

Clone this wiki locally