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