Automate the Boring Stuff with Python: The Unreleased Audio/Video Chapter

2025-07-13

The third edition of "Automate the Boring Stuff with Python" includes an unreleased chapter on working with audio, video, and webcams. This blog post shares the chapter's content, detailing how to write Python code to record and play multimedia. It covers audio and video data formats, recording from webcams and microphones, playing audio files (using playsound and Pygame), downloading videos with yt-dlp, and editing videos and audio with ffmpeg. Learn to automate tasks like batch-processing video files, creating time-lapses, or building a photo booth feature into your applications.

Read more
Development Multimedia Processing

Recursion Demystified: A Project-Based Approach

2025-01-04

The Recursive Book of Recursion challenges the intimidating reputation of recursive algorithms. Using Python and JavaScript examples, it progressively explains recursion's fundamentals, common algorithms (factorials, Fibonacci sequences, tree traversal, maze solving, etc.), and optimization techniques (tail call optimization, memoization). It covers advanced topics like divide-and-conquer, permutations, combinations, and dynamic programming, culminating in fractal art generation. Project-based and highly accessible, this book is perfect for beginners and experienced programmers alike.

Read more
Development