How to create report in python? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to create report in python?

mydict={"dog": 1, "cat": 3} for k,v in mydict.items(): report=(k+": "+ v) how can make a pdf?

28th Feb 2017, 6:03 PM
hamid
hamid - avatar
1 Answer
+ 1
Check out PyPDF2, ReportLab, or output it to a txt file with Python's open function
28th Feb 2017, 10:05 PM
thomas smith
thomas smith - avatar