Skip to content

Commit

Permalink
MAINT: Convert print statement to function (#504)
Browse files Browse the repository at this point in the history
  • Loading branch information
medic17 committed Apr 5, 2022
1 parent ac3d528 commit 2443f90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sample_Code/basic_features.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
input1 = PdfFileReader(open("document1.pdf", "rb"))

# print how many pages input1 has:
print "document1.pdf has %d pages." % input1.getNumPages()
print ("document1.pdf has %d pages." % input1.getNumPages())

# add page 1 from input1 to output document, unchanged
output.addPage(input1.getPage(0))
Expand Down

0 comments on commit 2443f90

Please sign in to comment.