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
97
Practical WebCrypto
mikemaccana
0
130
Deploying your JS app in 2018
mikemaccana
2
110
Practical browser npm
mikemaccana
1
200
Happiness Through Simplicity
mikemaccana
0
130
Browse like Xerces the God King of the Persians
mikemaccana
0
160
Welcome our new ES5 Overlords
mikemaccana
0
110
Fix Your Life Using Chrome Extensions
mikemaccana
1
170
Overcoming Web App Limitation with Chrome Extensions
mikemaccana
1
140
Other Decks in Technology
See All in Technology
E2Eテスト設計_自動化のリアル___Playwrightでの実践とMCPの試み__AIによるテスト観点作成_.pdf
findy_eventslides
2
600
Shirankedo NOCで見えてきたeduroam/OpenRoaming運用ノウハウと課題 - BAKUCHIKU BANBAN #2
marokiki
0
180
実装で解き明かす並行処理の歴史
zozotech
PRO
1
700
ニッポンの人に知ってもらいたいGISスポット
sakaik
0
110
リーダーになったら未来を語れるようになろう/Speak the Future
sanogemaru
0
380
Vibe Coding Year in Review. From Karpathy to Real-World Agents by Niels Rolland, CEO Paatch
vcoisne
0
120
ComposeではないコードをCompose化する case ビズリーチ / DroidKaigi 2025 koyasai
visional_engineering_and_design
0
100
How to achieve interoperable digital identity across Asian countries
fujie
0
140
ガバメントクラウド(AWS)へのデータ移行戦略の立て方【虎の巻】 / 20251011 Mitsutosi Matsuo
shift_evolve
PRO
2
190
BI ツールはもういらない?Amazon RedShift & MCP Server で試みる新しいデータ分析アプローチ
cdataj
0
100
AWS Control Tower に学ぶ! IAM Identity Center 権限設計の第一歩 / IAM Identity Center with Control Tower
y___u
0
100
SwiftUIのGeometryReaderとScrollViewを基礎から応用まで学び直す:設計と活用事例
fumiyasac0921
0
160
Featured
See All Featured
The Language of Interfaces
destraynor
162
25k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
9
590
Side Projects
sachag
455
43k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
How to train your dragon (web standard)
notwaldorf
96
6.3k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
34
6.1k
Mobile First: as difficult as doing things right
swwweet
224
10k
Gamification - CAS2011
davidbonilla
81
5.5k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
1.6k
Large-scale JavaScript Application Architecture
addyosmani
514
110k
RailsConf 2023
tenderlove
30
1.2k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
54
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