This is a personal document and PDF generator. Paste any Python script that creates documents using supported libraries, and generate a downloadable file. Supports Word documents, PDFs, and plots.
Supported formats:
doc variable with python-docx librarypdf variable with reportlab or fpdf2 librariesfig variable or matplotlib's plt functionsdoc, pdf, or fig)Important: Your script must create one of these variables:
doc - for Word documents (python-docx)pdf - for PDF files (reportlab, fpdf2)fig - for charts/plots (matplotlib)