title: How can I create a Word document using Python?
body: <p>I'd like to create a Word document using Python, however, I want to re-use as much of my existing document-creation code as possible.  I am currently using an XSLT to generate an HTML file that I <a href="http://www.xhtml2pdf.com/" rel="noreferrer">programatically convert</a> to a PDF file.  However, my client is now requesting that the same document be made available in Word (.doc) format.</p>
  
  <p>So far, I haven't had much luck finding any solutions to this problem. Is anyone aware of an open source library (or *gulp* a proprietary solution) that may help resolve this issue?</p>
  
  <p>NOTE: All possible solutions must run on Linux. I believe this eliminates pywin32.</p>