OOP

Object-oriented programming concepts: classes, objects, inheritance, encapsulation, and polymorphism.

Python Project: Build a Log Parser CLI (Regex + argparse)

This Python log parser project takes five separate skills you have met one at a time, regular expressions, dataclasses, the Counter, datetime, and argparse, and welds them into a single command line tool you would actually reach for at work. Server logs are where a lot of real debugging starts, and by the end of this post you will have a tool that reads a ten thousand line access log and answers real questions about it in under a second. ... Read More

Python OOP Project: Build a Bank Account Manager (Capstone)

This Python OOP project answers the question every beginner quietly asks after learning classes: when would I actually create one? We will build a small bank account manager that uses inheritance, magic methods, properties, custom exceptions, and JSON persistence, the exact tools you met one at a time across the OOP chapter, snapped together into a program you can run and keep. “An expert is a person who has made all the mistakes that can be made in a very ... Read More

AI: Computer Vision Project, Object Detection with YOLO

Text models are everywhere, but many of the most useful real-world problems are visual: counting people, reading signs, catching defects on an assembly line. YOLO object detection in Python is the fastest way to give your code eyes. YOLO (You Only Look Once) takes one look at the whole frame and hands back boxes and labels, quick enough for live video and light enough for a plain CPU. Think of YOLO like a checkout scanner at a supermarket. The scanner ... Read More