Skip to content

Commit f219c98

Browse files
authored
Update pdf_tools.py
1 parent 72dcb1e commit f219c98

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

pdf_tools/pdf_tools.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,10 @@
1313
from PyPDF2 import PdfFileReader, PdfFileWriter, PdfFileMerger
1414
from pathlib import Path
1515

16-
print("this script can print, edit, modify, rotate and add passwords to PDF documents if used properly")
17-
18-
pdf_path = (Path.home()
19-
/ "myfile.pdf")
16+
print("this script can print, edit, modify, rotate and add passwords to PDF doc
17+
uments if used properly")
18+
pdf_path = (Path.home() / "myfile.pdf")
2019
pdf = PdfFileReader(str(pdf_path))
21-
22-
2320
print("to get info on your file type INFO")
2421
if input() == "INFO":
2522
print("documeng title", pdf.documentInfo.title, "\n", "from page 0 to", int

0 commit comments

Comments
 (0)