Posts by Luan R Ribeiro • 1 point
1 post
-
-2
votes2
answers128
viewsA: Change the save location of a Python PDF (pdf.save())
import getpass from reportlab.pdfgen import canvas from reportlab.lib.pagesizes import A4 user_windows = getpass.getuser() cnv = canvas.Canvas(f'C:\\Users\\{user_windows}\\Desktop\\report.pdf',…
pythonanswered Luan R Ribeiro 1