添加链接
link之家
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
相关文章推荐
无邪的木瓜  ·  Installation | Python ...·  22 小时前    · 
坚韧的充值卡  ·  turtle — Turtle ...·  16 小时前    · 
千年单身的围巾  ·  AYX Python SDK v2·  16 小时前    · 
聪明的手电筒  ·  7. 輸入和輸出 — Python ...·  4 小时前    · 
被表白的骆驼  ·  碟事 | ...·  1 年前    · 
踢足球的皮蛋  ·  Windows ...·  1 年前    · 
喝醉的感冒药  ·  $国机汽车(SH600335)$ ...·  2 年前    · 
Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives

Teams

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Learn more about Teams

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 .

I wasted several days finding a reliable way to do that, so the initial question was definitively a good question! I'd like the item reopened so that I can post the solution I found eventually, using the win32com.client library, available in standard Python distributions for Windows. Jean-François Larvoire Jan 30, 2017 at 17:52 @Jean-FrançoisLarvoire could you point to a resource or some documentation for the solution you found? TrigonaMinima Feb 27, 2018 at 7:04

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.

When I imported this module into my python script, it said it didn't exist. I'm using python 2.7 – pHorseSpec Feb 5, 2016 at 18:43 Hi I am currently working on pypff as well, however having some trouble installing it and getting around with using it with python on a Window's machine. Do you think you can elaborate with the installation and such? – BernardL Mar 9, 2017 at 3:43