import csv
f = open("TCD14a.csv" ,encoding='utf-8')
for row in csv.reader(f):
if row[13] == No:
row[1]= Multiple
from fpdf import FPDF
pdf=FPDF()
pdf.add_page()
pdf.set_font('Arial','B',16)
pdf.cell(40,10,'This is a test!')
pdf.output(Multiple.pdf,'F')
Expected output is in row 1 they are names so pdf would read their name rather
than entering it in manually.
Python 3.4 Windows 8?
Basically I am reading from a CSV file to print row 1 as the pdf file name
rather than entering pdf.output manually. I am using this software as I run a
training course and each person in the course needs a certificate when passed
so name of file needs to be unique.
Thanks for your help
Original issue reported on code.google.com by briankno...@gmail.com on 25 Jun 2015 at 11:22
Original issue reported on code.google.com by
briankno...@gmail.com
on 25 Jun 2015 at 11:22