Frage

Wie kann ich eine Outlook-PST-Datei in Python analysieren und lesen?

War es hilfreich?

Lösung

Ich habe immer nur an libpst docs stieß, aber es sieht aus wie die libpst-Python-Paket funktionieren könnte für Sie: libpst-python

Andere Tipps

pypff is a python wrapper for the C library libpff that allows you to access email and the directory structure of Pst files within python.

Do a make of the library with the specified command to install the python bindings. Then you should be able to open up the python console and browse through Pst files.

import pypff

pst = pypff.file()
pst.open("MyPst.pst")
pst.close()

There are more examples on the libraries website. However, I found that there wasn't enough functionality in the library yet. For instance, you can read emails and the directories, but there isn't anything for attachments yet.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top