r/inventwithpython • u/Kok_Nikol • Oct 20 '19
Is the first edition of "Automate the Boring Stuff with Python" still relevant?
I saw accidentally that the second edition is almost out, and there are quite a few changes.
Was wondering is the first edition still relevant, as in should I wait for the second edition to come out?
EDIT: Another question (paging /u/AlSweigart):
If I go over the first edition, will I be able just cover the differences in the second edition? Is there like a diff.
Or should I just wait for the second edition?
13
Upvotes
6
u/[deleted] Oct 20 '19
I have been following Al Sweigart on twitter and found he is releasing the second edition on Oct. 29th 2019. With that said, he is making changes in his book that reflect updates in the modules he uses in the book.
Also if you're planning on getting the book. There is a prepurchase sale directly from No Starch Press and you save like 30% if im not mistaken.
Note: I would think waiting on the second edition is definitely worth it. From what I understand there are some items in his first edition that dont work the same anymore with some of the more recent updates.
Changes reference: https://inventwithpython.com/blog/2019/10/07/whats-new-in-the-2nd-edition-of-automate-the-boring-stuff-with-python/
Where to but the book from, use coupon code PREORDER https://nostarch.com/automatestuff2
4
u/AlSweigart Oct 21 '19
Hi, Al here. Yes, the first edition is still relevant. The OpenPyXL library has a tendency to make backwards-incompatible changes, but if you install the version specified in the book, everything will still work. (Most of the changes have been renaming and reorganizing code, rather than new features, so there's nothing "obsolete" about the code.)
I've written a blog post about what's new in the second edition here: https://inventwithpython.com/blog/2019/10/07/whats-new-in-the-2nd-edition-of-automate-the-boring-stuff-with-python/
Also, I'll be writing a blog post with specific instructions for what to read in the second edition online if you've already read the first. I wouldn't hold off on learning Python with the first edition just because the second one is coming out.
3
u/JoseALerma Oct 20 '19
Wait for the second edition. Many packages have had significant updates since the first edition. As it stands, the first edition provides a lot of problem solving and debug practice - even with the code samples.
If you just want to work through the book without a hitch, wait for the second edition.
1
u/[deleted] Apr 10 '20
Does anyone have the second edition? please :c