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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Mike MacCana
April 19, 2012
Technology
210
1
Share
Pure Python Microsoft Office Word support
Lighting talk from PyCon 2010 on Python DocX.
Mike MacCana
April 19, 2012
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
130
Practical browser npm
mikemaccana
1
220
Happiness Through Simplicity
mikemaccana
0
130
Browse like Xerces the God King of the Persians
mikemaccana
0
180
Welcome our new ES5 Overlords
mikemaccana
0
120
Fix Your Life Using Chrome Extensions
mikemaccana
1
190
Overcoming Web App Limitation with Chrome Extensions
mikemaccana
1
150
Other Decks in Technology
See All in Technology
[最強DB講義]推薦システム | 評価編
recsyslab
PRO
0
110
社内エンジニア勉強会の醍醐味と苦しみ/tamadev
nishiuma
0
240
EMから幅を広げるために最近挑戦していること / Recent challenges I'm undertaking to expand my horizons beyond EM
hiro_torii
1
130
No Types Needed, Just Callable Method Check
dak2
1
2k
AWS Agent Registry の基礎・概要を理解する/aws-agent-registry-intro
ren8k
3
410
MLOps導入のための組織作りの第一歩
akasan
0
380
国内外の生成AIセキュリティの最新動向 & AIガードレール製品「chakoshi」のご紹介 / Latest Trends in Generative AI Security (Domestic & International) & Introduction to AI Guardrail Product "chakoshi"
nttcom
4
1.4k
Good Enough Types: Heuristic Type Inference for Ruby
riseshia
1
310
AIコーディング時代における、ソフトウェアサプライチェーン攻撃に対する防衛術(簡易版)
soysoysoyb
0
140
はじめての MagicPod生成AI機能 機能紹介から活用方法まで
magicpod
0
120
Route 53 Global Resolver で高額課金発生!
otanikohei2023
0
120
AzureのIaC管理からログ調査まで、随所に役立つSkillsとCustom-Instructions / Boosting IaC and Log Analysis with Skills
aeonpeople
0
270
Featured
See All Featured
Building Flexible Design Systems
yeseniaperezcruz
330
40k
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
280
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
61
43k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.3k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.4k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
30k
YesSQL, Process and Tooling at Scale
rocio
174
15k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
510
How to Think Like a Performance Engineer
csswizardry
28
2.6k
Embracing the Ebb and Flow
colly
88
5k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
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