Skip to content

Commit

Permalink
Merge pull request #4 from Pkpratik/patch-1
Browse files Browse the repository at this point in the history
Create pdf.py
  • Loading branch information
shashank-sharma authored Nov 4, 2019
2 parents 482cbbe + e87f79f commit 1ed208b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pdf.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from reportlab.pdfgen import canvas
def generate_pdf(text):
c=canvas.Canvas("report.pdf")
c.drawString(0,830,text)
c.save()
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
reportlab==3.5.32

0 comments on commit 1ed208b

Please sign in to comment.