Joe: Awesome. So actually, that's why I'd like to start off covering is talking about your book Automate the Boring Stuff with Python 2nd Edition from the Publisher No Starch Press. So what was the main reason for writing this book? I know you've written, I think, three or four other ones before this one, so why another book on Python Programming Language?
Al: Well, yeah. I've written three books before, like Scratch Programming Playground, Cracking Codes with Python, and Coding with Minecraft but they were all aimed at either kids or teenagers, or at least that's what I would tell people so that adults would think, oh, well, programmings for kids. So maybe I can do it, and they wouldn't be scared off. You know, those books were concentrated on games with Python and fun little crypto programs. I wanted something for adults with office jobs or adults who had jobs where they just use computers every day, which is a pretty substantial portion of the workforce. They could learn programming as a practical way to automate a lot of things that they would typically have to do with a bunch of clicking and typing. I would hear stories from my non-developer friends. They said, yeah, well, today at the office, I spent four hours opening PDF files, finding this one line that had some statistic in it, and then copying and pasting that into a spreadsheet and then moving to the next of hundreds of PDFs. And I would think, like, wow, you could probably spend about half an hour writing a script to do that instead of spending hours just doing it by hand. There are all these little stories like this, and there isn't any software written really to do these because they're very particular to an individual's workflow. But if you know to program and how to cobble together a custom script, then you could save yourself a lot of time. So I thought, well, there's got to be something out there already like this. And there isn't. There's a lot of books focused on turning people into six-figure making rockstar developers or for people who are already developers and programmers in different languages if you want to learn Python. It was nothing for complete beginners who didn't want to become software engineers or computer scientists and teach them just enough programming to be helpful.
Joe: Awesome. What I really love about this book, besides a cover, anytime I see the word automate and a robot on a cover, I'm usually reading that book. This book is for total beginners. But what I love is that it teaches practical things. So it's not like a hello world. You, how things like how to interact with Excel, read PDF, Web scraping, etc. So why would you recommend someone learn to do these types of things using Python rather than say a language like Java or C#?
Al: Well, Python has always been my go-to language for complete beginners. It has a gentle learning curve. It works on Windows, Linux, and Mac. And also, it's still a serious programming language that professional developers use. I think there's an XKCD comic that really extolls all the Python virtues and says, hello world is one line long and like Java where you sort of have to remember what Public static void string. Main bracket, right. Yeah. It's been a while since I've done Java programming, but yeah, with Python you can, you can remember how to do all of these things in your head. And also, it doesn't force you to learn object-oriented programming. I completely skipped that in the book. A lot of freshman computer science topics I entirely skip over. There's no sort of sorting algorithms or any discussion of things like that in the book. Python just allowed the code to be very terse. Kind of like Perl, except also readable, unlike Perl.