Last active
August 29, 2015 13:55
-
-
Save molszewski/8689682 to your computer and use it in GitHub Desktop.
ReportLab spike
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!venv/bin/python | |
# Script requires: | |
# - virtualenv in venv dir (virtualenv venv) | |
# - reportlab (pip install reportlab) | |
from reportlab.pdfgen import canvas | |
c = canvas.Canvas("report_lab_spike_output.pdf") | |
c.drawString(10,600,"Hello World") | |
c.showPage() | |
c.save() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment