I want some help to generate a report in PDF/Doc(MS Word) format . I’m not able to find any module to generated report in doc, except “docx” which I’m not able to comprehend. Actually I’m actual task is to generate the report in Doc only, but as I’m not able to find a module to work on it, I opt for PDF. I’m using “Report Lab”   module, but I’m finding some limitation in that. It write anything based on co-ordinate system. The problem I’m facing with that the report is usually a string, whose length is not limited, so sometime it goes beyond the canvas( Pdf Page). Also there is not functionality I guess to do format font with Bold, Italics and Underline. 
If you know any module to generate report in PDF or Doc, please let me know. My requirement is:

Able to add an image at an header.
Change fonts and other properties, like Bold, Italics, and Underline
Able to draw basic shape like line
Write string, as a statement, as we are able to do with able to write into txt file using python(not on co-ordinate system basis)
You could also try and generate LaTeX Code, which you then compile to PDF.
Need help to generate report in PDF or Doc using python