<s> from __future__ import unicode_literals , print_function , division <EOL> __author__ = "<STR_LIT>" <EOL> import ezodf <EOL> from ezodf . text import Paragraph , Heading <EOL> P1 = "<STR_LIT>" <EOL> P2 = "<STR_LIT>" <EOL> P3 = "<STR_LIT>" <EOL> P4 = "<STR_LIT>" <EOL> name = '<STR_LIT>' <EOL> odt = ezodf . newdoc ( doctype = name [ - <NUM_LIT:3> : ] , filename = name ) <EOL> odt . body . append ( Heading ( "<STR_LIT>" ) ) <EOL> for nr , p in enumerate ( ( P1 , P2 , P3 , P4 ) ) : <EOL> cnr = nr + <NUM_LIT:1> <EOL> odt . body . append ( Heading ( "<STR_LIT>" % cnr , cnr ) ) <EOL> odt . body . append ( Paragraph ( p ) ) <EOL> odt . save ( ) </s>
