Python 我如何开始使用 PyWin32
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/16545851/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How do I get started with PyWin32
提问by B-Rell
I am looking for good resources to get started with pywin32. I haven't found much in the way of tutorials, books or blogs that talk about it. I'd like to be able to use python to automate some of my common repetitive Microsoft Excel and Word Tasks (such as open a word doc and search and replace data from a spreadsheet).
我正在寻找开始使用 pywin32 的好资源。我没有找到太多谈论它的教程、书籍或博客。我希望能够使用 python 自动执行一些常见的重复性 Microsoft Excel 和 Word 任务(例如打开 word 文档并搜索和替换电子表格中的数据)。
I have found a lot of references to PyWin32 (on google and StackOverflow), but it's always at a more advanced level. I'd just like to find some well documented resources that help me get up to speed so I can use the other posts I found.
我发现了很多对 PyWin32 的引用(在 google 和 StackOverflow 上),但它总是处于更高级的水平。我只想找到一些有据可查的资源来帮助我加快速度,以便我可以使用我找到的其他帖子。
采纳答案by hellerve
What I can recommend if you are okay with buying a book is this guide.
如果您愿意购买一本书,我可以推荐的是本指南。
The documentation(can also be found in the installation of PyWin32) and Active State's doc(with their list of objects and modules) should do the rest.

