Illustration of a teacup with a tea bag, sprouting leaves, and droplets, symbolizing freshness and natural ingredients, set against a shield in a green color scheme.

Fun with Python

A collection of Python scripts.

Gathered here are all of the articles related to Python.
As new posts are written, they will be archived here for quick access.
The site is new, so the collection is small. Check back for more.

  • Illustration of laptop with Python logo on screen, surrounded by tech and stationery items like a disk, camera, coffee mug, light bulb, and cassette labeled 'Python'. Hands typing on the keyboard.

    Log Analysis with Regex

    In this installment, the author analyzes a log file with a simple Python script using regex.

  • A black and white illustration depicting a large snake with an open mouth, poised next to a cage containing a small robot. The background includes a crescent moon, flying birds, and scattered rocks.

    Log Analysis with Regex v2

    In this installment, the author updates the original log analysis code with new functionality to generate CSV with identified IPv4 addresses.

  • Cartoon character with large glasses and a mustache holding long scrolls in a cluttered office, surrounded by books and papers under a desk lamp.

    Log Analysis with Regex v3

    In this installment, the author updates the log analysis code with additional functionality to search for IOCs stored in a separate file.

  • A large snake with a human arm holds a magnifying glass, surrounded by office file boxes and organized paperwork.

    File Search in Multiple Directories

    In this installment, the author searches multiple directories for files that contain specific text in their name.

  • Retro-style illustration of a robot using a password machine with a printout of symbols.

    A Simple Password Generator

    In this installment, the author generates strong passwords with a simple script.

  • Hacker Handle Generator

    In this installment, the author generates elite hacker handles, just for fun.

  • File Hashing

    In this installment, the author creates a simple script to hash a file.

  • File Hashing v2

    In this installment, the author creates a simple script to hash all files in a directory.