The following code generates a csv file in plain text format:
f = open('mytext.txt', 'wb')
for row in hit_list:
f.write(row)
f.close()
Now, I need to generate the same output but in pdf format, ie, mytext.pdf. Is this possible in Python?
Thanks.