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 10 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(2)
pypff 是 C 库 libpff 的 python 包装器,允许您访问电子邮件和 Pst 文件的目录结构在Python中。
使用指定的命令对库进行 make 以安装 python 绑定。然后您应该能够打开 python 控制台并浏览 Pst 文件。
图书馆网站上有更多示例。然而,我发现库中还没有足够的功能。例如,您可以阅读电子邮件和目录,但还没有任何附件。
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.
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.
我只浏览过 libpst 文档,但看起来 libpst-python 包可能适合你: libpst-python
I have only ever poked at libpst docs, but it looks like the libpst-python package might work for you: libpst-python