开发者

Outlook PST File Parsing in Python [closed]

Closed. This question does not meet Stack Ov开发者_如何学编程erflow guidelines. It is not currently accepting answers.

Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.

Closed 8 years ago.

Improve this question

How can I parse and read an outlook pst file in Python?


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.


I have only ever poked at libpst docs, but it looks like the libpst-python package might work for you: libpst-python

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜