<s> """<STR_LIT>""" <EOL> from docx import * <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> relationships = relationshiplist ( ) <EOL> document = newdocument ( ) <EOL> body = document . xpath ( '<STR_LIT>' , namespaces = nsprefixes ) [ <NUM_LIT:0> ] <EOL> body . append ( heading ( "<STR_LIT>" , <NUM_LIT:1> ) ) <EOL> body . append ( heading ( '<STR_LIT>' , <NUM_LIT:2> ) ) <EOL> body . append ( paragraph ( '<STR_LIT>' <EOL> '<STR_LIT>' <EOL> '<STR_LIT>' ) ) <EOL> points = [ '<STR_LIT>' <EOL> , '<STR_LIT>' <EOL> , '<STR_LIT>' <EOL> ] <EOL> for point in points : <EOL> body . append ( paragraph ( point , style = '<STR_LIT>' ) ) <EOL> body . append ( paragraph ( [ ( '<STR_LIT>' <EOL> '<STR_LIT>' , '<STR_LIT:i>' ) ] ) ) <EOL> body . append ( heading ( '<STR_LIT>' , <NUM_LIT:2> ) ) <EOL> body . append ( paragraph ( '<STR_LIT>' ) ) <EOL> points = [ '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' ] <EOL> for point in points : <EOL> body . append ( paragraph ( point , style = '<STR_LIT>' ) ) <EOL> body . append ( paragraph ( '<STR_LIT>' ) ) <EOL> tbl_rows = [ [ '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' ] <EOL> , [ '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' ] <EOL> , [ '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' ] <EOL> ] <EOL> body . append ( table ( tbl_rows ) ) <EOL> body . append ( heading ( '<STR_LIT>' , <NUM_LIT:2> ) ) <EOL> body . append ( paragraph ( '<STR_LIT>' <EOL> '<STR_LIT>' ) ) <EOL> points = [ '<STR_LIT>' <EOL> , '<STR_LIT>' <EOL> , '<STR_LIT>' <EOL> ] <EOL> for point in points : <EOL> body . append ( paragraph ( point , style = '<STR_LIT>' ) ) <EOL> relationships , picpara = picture ( relationships , '<STR_LIT>' , <EOL> '<STR_LIT>' ) <EOL> body . append ( picpara ) <EOL> print '<STR_LIT>' , <EOL> if search ( body , '<STR_LIT>' ) : <EOL> print '<STR_LIT>' <EOL> else : <EOL> print '<STR_LIT>' <EOL> print '<STR_LIT>' , <EOL> if search ( body , '<STR_LIT>' ) : <EOL> print '<STR_LIT>' <EOL> else : <EOL> print '<STR_LIT>' <EOL> print '<STR_LIT>' , <EOL> body = replace ( body , '<STR_LIT>' , '<STR_LIT>' ) <EOL> print '<STR_LIT>' <EOL> body . append ( pagebreak ( type = '<STR_LIT>' , orient = '<STR_LIT>' ) ) <EOL> body . append ( heading ( '<STR_LIT>' , <NUM_LIT:2> ) ) <EOL> body . append ( paragraph ( '<STR_LIT>' ) ) <EOL> title = '<STR_LIT>' <EOL> subject = '<STR_LIT>' <EOL> creator = '<STR_LIT>' <EOL> keywords = [ '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' ] <EOL> coreprops = coreproperties ( title = title , subject = subject , creator = creator , <EOL> keywords = keywords ) <EOL> appprops = appproperties ( ) <EOL> contenttypes = contenttypes ( ) <EOL> websettings = websettings ( ) <EOL> wordrelationships = wordrelationships ( relationships ) <EOL> savedocx ( document , coreprops , appprops , contenttypes , websettings , <EOL> wordrelationships , '<STR_LIT>' ) </s>
