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
学生・新卒・ジュニアから目指すSRE
hiroyaonoe
2
600
広告の効果検証を題材にした因果推論の精度検証について
zozotech
PRO
0
170
Webhook best practices for rock solid and resilient deployments
glaforge
1
290
Greatest Disaster Hits in Web Performance
guaca
0
230
~Everything as Codeを諦めない~ 後からCDK
mu7889yoon
3
340
Cosmos World Foundation Model Platform for Physical AI
takmin
0
870
生成AI時代にこそ求められるSRE / SRE for Gen AI era
ymotongpoo
5
3.1k
生成AIを活用した音声文字起こしシステムの2つの構築パターンについて
miu_crescent
PRO
2
190
StrandsとNeptuneを使ってナレッジグラフを構築する
yakumo
1
110
プロダクト成長を支える開発基盤とスケールに伴う課題
yuu26
4
1.3k
プロポーザルに込める段取り八分
shoheimitani
1
230
IaaS/SaaS管理における SREの実践 - SRE Kaigi 2026
bbqallstars
4
2.2k
Featured
See All Featured
Building an army of robots
kneath
306
46k
From π to Pie charts
rasagy
0
120
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
940
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
320
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
180
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.2k
GraphQLとの向き合い方2022年版
quramy
50
14k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
110
The Cost Of JavaScript in 2023
addyosmani
55
9.5k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
300
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
196
71k
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