from reportlab.lib.units import cm
from reportlab.platypus import Paragraph, SimpleDocTemplate
from reportlab.lib.styles import getSampleStyleSheet
styles = getSampleStyleSheet()
text1 = Paragraph('Eine Ueberschrift', styles['Heading1'])
text2 = Paragraph('Ganz viel Text...', styles['Normal'])
text3 = Paragraph('Ueberschrift Ebene 2',styles['Heading2'])
text4 = Paragraph('Und noch mehr Text...',styles['Normal'])
story = []
story.append(text1)
story.append(text2)
story.append(text3)
story.append(text4)
pdfdoc = SimpleDocTemplate('meinpdf.pdf')
pdfdoc.build(story)

