I have this simple code, that just takes a template and I'm trying to convert it to a pdf.
The code works but the pdf have the excel gridlines
At the moment i´m using xlwings to create the pdf but i can switch to another library if I need to
import xlwings as xw
with xw.App(visible=False) as app:
wb = app.books.open('Template.xlsx')
wb.to_pdf('test.pdf')
Follow these steps: