8000 Add comment to solutions file · MHHamdan/python-basics-exercises@3641264 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3641264

Browse files
committed
Add comment to solutions file
1 parent ec2eec0 commit 3641264

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ch13-interact-with-pdf-files/3-challenge-PdfFileSplitter-class.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@ def write(self, filename):
3838
with Path(str(filename) + "_2.pdf").open(mode="wb") as output_file:
3939
self.writer2.write(output_file)
4040

41-
41+
# Split the Pride_and_Prejudice.pdf file into two PDFs, the first
42+
# containing the first 150 pages, and the second containing the
43+
# remaining pages.
4244
pdf_splitter = PdfFileSplitter("ch13-interact-with-pdf-files/practice_files/Pride_and_Prejudice.pdf")
4345
pdf_splitter.split(breakpoint=150)
4446
pdf_splitter.write("pride_split")

0 commit comments

Comments
 (0)
0