Skip to content

Instantly share code, notes, and snippets.

@molszewski
Last active August 29, 2015 13:55
Show Gist options
  • Save molszewski/8689682 to your computer and use it in GitHub Desktop.
Save molszewski/8689682 to your computer and use it in GitHub Desktop.
ReportLab spike
#!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