Skip to content

Python development

Joachim Metz edited this page Aug 5, 2022 · 1 revision

libfsfat comes with Python-bindings named pyfsfat.

Below are examples how use pyfsfat. They assume you have a working version of pyfsfat on your system. To build pyfsfat see Building.

Import

To be able to use pyfsfat in your Python scripts add the following import:

import pyfsfat

Get version

The get_version() module function can be used to retrieve the version of the pyfsfat.

pyfsfat.get_version()

This will return a textual string (Unicode) that contains the libfsfat version. Since pyfsfat is a wrapper around libfsfat it does not have a separate version.

Also see

import pyfsfat

help(pyfsfat)
help(pyfsfat.None)

Clone this wiki locally