Skip to content

Development

Joachim Metz edited this page Oct 2, 2014 · 3 revisions

Python development

Get version

import pypff

pypff.get_version()

Open file

import pypff

pff_file = pypff.file()

pff_file.open("Archive.pst")

pff_file.close()

Note that the explicit call to close is not required.

Open file using a file-like object

import pypff

file_object = open("Archive.pst", "rb")

pff_file = pypff.file()

pff_file.open_file_object(file_object)

pff_file.close()

Note that the explicit call to close is not required.

Also see

import pypff

help(pypff)
help(pypff.file)
Clone this wiki locally