You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Joachim Metz edited this page Jul 12, 2022
·
1 revision
libfsxfs comes with Python-bindings named pyfsxfs.
Below are examples how use pyfsxfs.
They assume you have a working version of pyfsxfs on your system.
To build pyfsxfs see Building.
Import
To be able to use pyfsxfs in your Python scripts add the following import:
import pyfsxfs
Get version
The get_version() module function can be used to retrieve the version of the pyfsxfs.
pyfsxfs.get_version()
This will return a textual string (Unicode) that contains the libfsxfs version.
Since pyfsxfs is a wrapper around libfsxfs it does not have a separate version.