Tech people, letβs settle this debate.
Which operating system would you choose for your everyday development work?
A. Windows
B. Linux
Tell us why! π
PYTHON AUTOMATION !!!!
Reading a PDF File with Python ππ
Today, letβs talk about PDF automation using Python.
Iβm starting with an existing invoice PDF, then installed the pypdf library to work with PDF files.
Hereβs what I did:
1. from pypdf import PdfReader β Imported PdfReader from the pypdf library.
2. reader = PdfReader("invoice.pdf") β Opened and loaded my invoice PDF.
3. print(len(reader.pages)) β Counted and displayed the total number of pages in the PDF.
4. page = reader.pages[0] β Accessed the first page of the invoice.
5. text = page.extract_text() β Extracted the text from the first page.
6. print(text) β Displayed the extracted text in the terminal.
With just a few lines of Python, I was able to open a PDF, count its pages, and extract its text.
One step at a time, one automation project at a time. π
#Python #PythonAutomation #PDFAutomation #100DaysOfCode
1
81
If you could master only ONE programming language, which would it be?
A. Python π
B. JavaScript π
π€ Made with AI
5
7
196
Developers, settle this!
Which IDE would you rather use for Python development?
A. VS Code
B. PyCharm
No neutral answers! π
π€ Made with AI
2
4
141
Which AI assistant are you choosing?
A. ChatGPT
B. Google Gemini
Whatβs your reason? π
π€ Made with AI
7
3
199
Imagine waking up and saw your wife or girlfriend doing this..
What would you do?
A. Hug her /Kiss her
B. Tell her to leave your house
C. Slap her
D. Allow her finish
Itβs another morning.
If you are building in Tech
If you are learning in Tech
Shipping in Tech
Iβm ready to connect with you
Letβs connect
Day 56/100 of python
#100DaysOfCode #python
1
5
260
Day 55/100 of python.
Watch out the beautiful animations with python
#100DaysOfCode #python
Day 54/100 of python.
Built health monitor with python
#100DaysOfCode #python









