Extract the metadata

Report a typo

We can extract the metadata from PDF files using the pdf.metadata attribute. Suppose we store the metadata in the information variable. Let's explore the Author, Producer, and Title from dummy.pdf.

Sample Input 1:

Sample Output 1:

Mona Lott
OpenOffice.org 2.1
Dummy pdf
Write a program in Python 3
# get the author, producer and title from the 'information' dict
print(...)
print(...)
print(...)
___

Create a free account to access the full topic