Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Pure Python Microsoft Office Word support
Search
Mike MacCana
April 19, 2012
Technology
1
210
Pure Python Microsoft Office Word support
Lighting talk from PyCon 2010 on Python DocX.
Mike MacCana
April 19, 2012
Tweet
Share
More Decks by Mike MacCana
See All by Mike MacCana
Reveal, Feb 1 2024
mikemaccana
0
100
Practical WebCrypto
mikemaccana
0
130
Deploying your JS app in 2018
mikemaccana
2
120
Practical browser npm
mikemaccana
1
210
Happiness Through Simplicity
mikemaccana
0
130
Browse like Xerces the God King of the Persians
mikemaccana
0
170
Welcome our new ES5 Overlords
mikemaccana
0
120
Fix Your Life Using Chrome Extensions
mikemaccana
1
180
Overcoming Web App Limitation with Chrome Extensions
mikemaccana
1
150
Other Decks in Technology
See All in Technology
MySQLのJSON機能の活用術
ikomachi226
0
150
小さく始めるBCP ― 多プロダクト環境で始める最初の一歩
kekke_n
1
330
AzureでのIaC - Bicep? Terraform? それ早く言ってよ会議
torumakabe
1
120
プロポーザルに込める段取り八分
shoheimitani
0
160
CDKで始めるTypeScript開発のススメ
tsukuboshi
1
310
SREのプラクティスを用いた3領域同時 マネジメントへの挑戦 〜SRE・情シス・セキュリティを統合した チーム運営術〜
coconala_engineer
2
570
Databricks Free Edition講座 データサイエンス編
taka_aki
0
290
名刺メーカーDevグループ 紹介資料
sansan33
PRO
0
1k
ClickHouseはどのように大規模データを活用したAIエージェントを全社展開しているのか
mikimatsumoto
0
190
ブロックテーマでサイトをリニューアルした話 / 2026-01-31 Kansai WordPress Meetup
torounit
0
430
OCI Database Management サービス詳細
oracle4engineer
PRO
1
7.3k
GSIが複数キー対応したことで、俺達はいったい何が嬉しいのか?
smt7174
3
140
Featured
See All Featured
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
310
Prompt Engineering for Job Search
mfonobong
0
160
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
110
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
0
140
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.1k
Embracing the Ebb and Flow
colly
88
5k
Practical Orchestrator
shlominoach
191
11k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.1k
Code Reviewing Like a Champion
maltzj
527
40k
Darren the Foodie - Storyboard
khoart
PRO
2
2.3k
Transcript
Python Docx A bullshit-free way to create, edit, and read
MS Word documents @mikemaccana github.com/mikemaccana/python-docx Friday, 19 February 2010
Previous Approaches Approach Using Shitty Old Technology Calling Java Apache
POI Java Automating OpenOffice PyUNO OpenOffice Automating MS Office COM COM MS OpenXML SDK IronPython Windows Friday, 19 February 2010
Making Documents Paragraphs Bullets/Numbering Headings Tables Images Section and Page
Breaks Stuff for screen readers Document Properties Friday, 19 February 2010
Reading Documents Extract plain text of document Originally I intended
this for Python programmers Has since found popularity with ANGRY UNIX GUYS. And document properties too. Friday, 19 February 2010
Manipulating Existing Docs Add and delete items anywhere within the
document Search + replace Friday, 19 February 2010
Serving Suggestions Python LinkedIn API - auto-build a Word doc
whenever some old recruiting dude asks for one. Lamson - transparently fuck with people’s email attachments. NLTK - pass content to NLTK for logical inference, identifying people / org relationships, etc. Friday, 19 February 2010
Future I’m going to fucking have to do styles at
some point. Fuckity fuck fuck fuck. Friday, 19 February 2010
Join us! <1000 lines - lxml does all the heavy
lifting nose (currently 100% coverage) Example code for everything MIT licensed Friday, 19 February 2010
github.com/mikemaccana/python-docx @mikemaccana Thankyou Friday, 19 February 2010