Levi Campbell wrote: > Is there a way to export a record from a database kept with bsddb to > MS Word, possibly with some type of formatting data?
import win32com.client
try: import psyco; psyco.full()
except ImportError: pass
app = win32com.client.Dispatch("Word.Application")
app.Visible = True
doc = app.Documents.Add()
para = doc.Paragraphs.Add()
para.Range.Text = "DB Record"
para.Range.Bold = True
#...
doc.Close(True)
app.Quit()
--
http://mail.python.org/mailman/listinfo/python-list
