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