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