I have a question about generating Rich Text output in Python. I had a decent amount of experience processing data with Python and writing to .csv/.txt files for opening in Excel.
I'm working on a project to generate a patient report from a Python program that has stripped all the diagnoses/items of interest out of a database. Basically, I have a list of diagnoses and currently just write it to a .txt file with no formatting. Ideally, the program will apply formatting to the text (e.g. diagnoses are in bold, criteria for each diagnosis is a bullet point under the bold point). The gold standard would be if I could somehow create a PDF of the report w/ headers and footers as well.
Any ideas on how this could be possible? Is Python blatantly the wrong choice for this?