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