PyPDF2 Flashcards

1
Q

Is PyPDF4 backwards compatible with PyPDF2?

A

No, not completely

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

what is the point of an f string literal? how would you change this code to a f string literal:
“Hello {}, you are {} years old, right?”.format(name, age)”

A

f string literal is cleaner than % formatting and less verbiose than str.format(). Example with f string literal:
f”"”Hello {name}, you are {age} years old, right?”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

if you are attempting to extract text from a pdf, what’s the best library to use?

A

pdfminer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly