Nested Functions In Python Pdf Reader