Module Expr Str Import alias ImportFrom alias alias If CompareEq NameLoad Str body TryExcept body Assign NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Str handlers ExceptHandler body Print Str Expr Call NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore ListLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad
N/A N/A 
This file opens a docx (Office 2007) file and dumps the text.

If you need to extract text from documents, use this file as a basis for your
work.

Part of Python's docx module - http://github.com/mikemaccana/python-docx
See LICENSE for licensing information.
 N/A sys docx opendocx getdocumenttext N/A N/A __name__ __main__ N/A N/A N/A N/A document N/A opendocx N/A N/A sys argv N/A 1 N/A newfile N/A open N/A N/A sys argv N/A 2 w N/A N/A N/A N/A Please supply an input and output file. For example:
  example-extracttext.py 'My Office 2007 document.docx' 'outputfile.txt' N/A N/A exit N/A paratextlist N/A getdocumenttext document N/A newparatextlist N/A N/A paratext paratextlist N/A N/A N/A N/A newparatextlist append N/A N/A paratext encode utf-8 N/A N/A N/A newfile write N/A N/A join newparatextlist