python script in pdf code example Example: pdf python $ python3 -m pip install PyPDF2 Try using this library for pdf