r/Python • u/AlSweigart Author of "Automate the Boring Stuff" • Jul 08 '25
Tutorial Lost Chapter of Automate the Boring Stuff: Audio, Video, and Webcams
https://inventwithpython.com/blog/lost-av-chapter.html
The third edition of Automate the Boring Stuff with Python is now available for purchase or to read for free online. It has updated content and several new chapters, but one chapter that was left on the cutting room floor was "Working with Audio, Video, and Webcams". I present the 26-page rough draft chapter in this blog, where you can learn how to write Python code that records and plays multimedia content.
285
Upvotes
62
u/alias454 Jul 08 '25
It's great. Thanks for being so generous in a time when everyone tries to squeeze every penny they can from people. I wonder how many careers you are responsible for getting started.
14
u/deustamorto Jul 09 '25
You're one of the pillars of the python community.
4
u/ASIC_SP Jul 09 '25
Wanted to check what's new in the third edition, found a typo (https://automatetheboringstuff.com/3e/chapter0.html):
Should be Linux
15
u/Etheo Jul 08 '25
Thank you Al, as always. Automate the Boring Stuff got me started on some modules I never thought I'd try but the practicality of the examples were what drawn me into exercising them. Wish I could get into a career with it but hard to find relevant work without a comp sci degree. C'est la vie, but Python as a hobby is still fun (and great way to pass down time during work, lol).
Keep up the great work!
14
u/alcalde Jul 08 '25
"Mr. Sweigart, we can't include a chapter about Python for Onlyfans and still be sold at Barnes and Noble."
7
u/Afraid_Palpitation10 Jul 09 '25
Your book had a huge educational impact on me when I started programming python many years ago. It was probably the first programming book I actually read front to back. Thank you for your contributions!
1
u/[deleted] Jul 09 '25
Are there any plans to update the Udemy course?
1
u/DigThatData Jul 09 '25 edited Jul 09 '25
I believe there's at least one (maybe several?) libraries that offer pythonic interfaces to ffmpeg. I generally prefer getting closer to the metal, but given your target audience and how crazy ffmpeg CLI args can be, might be worth it for your use case.
3
u/Geth- Jul 08 '25
I just started the first chapter and I'm loving it so much. Self-directed learning is complicated for me, but I've been doing it for long enough to know when I've found something truly valuable for a novice, and this book has hit the spot.
3
u/[deleted] Jul 08 '25
Wow! That's you the author.
5
u/danroxtar Jul 08 '25
Al is the goat
1
u/virtualadept Jul 09 '25
Thank you very much for the third edition - off to buy a copy!
0
u/[deleted] Jul 08 '25
[deleted] — view deleted comment