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