Skip to content

Python development

Joachim Metz edited this page Jul 11, 2022 · 1 revision

libfwevt comes with Python-bindings named pyfwevt.

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

Import

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

import pyfwevt

Get version

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

pyfwevt.get_version()

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

Also see

import pyfwevt

help(pyfwevt)
help(pyfwevt.None)
Clone this wiki locally