PdfFileMerger in Python: Combine PDF Files

PdfFileMerger in Python

I’ve often found myself needing to merge multiple PDF files into one. Python has several libraries for working with PDFs, but one of the simplest and most effective tools I use is PdfFileMerger from the PyPDF2 package. In this article, I’ll walk you through how to use PdfFileMerger in Python. I’ll share practical examples, including … Read more >>

The PdfFileReader Class: PyPDF2 documentation

Python PdfFileReader

While working with PDF files in Python, I realized how the PyPDF2 library is useful, especially its PdfFileReader class. Whether you want to extract text, read metadata, or work with pages, PdfFileReader makes it simple. Over my 10+ years as a Python developer, this tool has been invaluable whenever I needed to automate PDF processing. … Read more >>

Read Video Frames in Python

Python Read Video Frames in

When I started working with video processing in Python, I quickly realized that reading video frames efficiently is fundamental. Whether you’re building an application to analyze traffic camera footage in New York or creating a sports analytics tool for baseball highlights, mastering video frame extraction is key. In this tutorial, I’ll share easy methods to … Read more >>

Tic Tac Toe Game using Pygame

Python tic tac toe game using pygame

During a Python webinar, one of my students asked me about creating a Tic Tac Toe game. After exploring more about this topic, I found a way to do it. In this tutorial, I will explain to you how to create a Tic Tac Toe Game using Pygame. What is the use of the grid … Read more >>

Build Artificial Neural Network in TensorFlow

tensorflow neural network

Recently, I was working on a project that required predicting housing prices in the US market. After exploring various options, I decided to use an artificial neural network built with TensorFlow. The problem was, I wasn’t sure where to start. TensorFlow offers numerous options, which can be overwhelming for beginners. In this article, I’ll walk … Read more >>

Reshape Arrays in NumPy

python reshape

Recently, I was working on a data science project where I needed to transform a flat array into a multi-dimensional structure for matrix operations. The issue is, reshaping arrays manually can be tedious and error-prone. So we need NumPy’s useful reshaping capabilities. In this article, I’ll cover several simple ways you can use to reshape … Read more >>

How to Initialize Dictionary Python with 0

python initialize dictionary

Recently, while working on a natural language processing project, I needed to count word frequencies in a large text corpus. The issue was, I needed to initialize a dictionary with zero values for all potential words before counting. Python dictionaries are perfect for this task, but there’s no single built-in method to initialize all keys … Read more >>

Convert Strings to Dates in Python

Converting Strings to Dates in Python

Recently, I worked on a data analysis project for a US retail chain, where I needed to process thousands of sales records. The dates were stored as strings in various formats, which made analysis nearly impossible without proper conversion. The issue is that Python can’t directly perform date calculations on string representations of dates. We … Read more >>

Python Convert String to Mathematical Expression (5 Easy Methods)

Python Convert String to Mathematical Expression

Recently, I was working on a data analysis project where I needed to process mathematical formulas stored as strings in a CSV file. The challenge was clear – I needed to convert these string representations into actual mathematical expressions that Python could evaluate. Python offers several ways to accomplish this task. In this article, I’ll … Read more >>

How to Convert String to UUID in Python?

Convert String to UUID in Python

When working with unique identifiers in Python, I often need to convert strings to UUID objects. This conversion is crucial for database operations, API development, and ensuring data integrity in applications. In this article, I’ll show you multiple ways to convert a string to a UUID in Python, based on my decade of experience working … Read more >>

51 Python Programs

51 PYTHON PROGRAMS PDF FREE

Download a FREE PDF (112 Pages) Containing 51 Useful Python Programs.

pyython developer roadmap

Aspiring to be a Python developer?

Download a FREE PDF on how to become a Python developer.

Let’s be friends

Be the first to know about sales and special discounts.