MCPcopy Create free account
hub / github.com/IENT/YUView / main

Function main

tools/standardTextToCode/readStandardPDFFile.py:3–8  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1from PyPDF3 import PdfFileReader
2
3def main():
4 filename = "JVET-R2001-vB.pdf"
5 print("Opening file " + filename)
6 input = PdfFileReader(open(filename, "rb"))
7
8 print(f"{filename} has {input.getNumPages()} pages.")
9
10
11

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected