r/learnpython • u/[deleted] • Sep 28 '19
Automate The Boring Stuff 2ND EDITION
https://nostarch.com/automatestuff2
Did you get the first edition? what are your thoughts on it and what what great books you recommend written in latest Python syntax and features?
18
Sep 28 '19
I hope the author has updated the openpyxl commands. Many referenced were out-of-date.
9
u/anecdotal_yokel Sep 29 '19
I hope the author has updated the openpyxl commands. Many referenced were out-of-date.
Maybe u/alsweigart can answer?
2
u/AlSweigart Author of "Automate the Boring Stuff" Sep 30 '19
Yep, basically what whocakedthebucket says in reply to this comment. OpenPyXL tends to make a lot of backwards-incompatible changes (to their credit, I like all the changes they do make) so it's taught me that I have to be really specific about the versions I'm covering.
0
Sep 29 '19
[deleted]
1
u/semidecided Sep 29 '19 edited Oct 01 '19
This book covers version 2.3.3 of OpenPyXL, but new versions are regularly released by the OpenPyXL team. Don’t worry, though: New versions should stay backward compatible with the instructions in this book for quite some time. If you have a newer version and want to see what additional features may be available to you, you can check out the full documentation for OpenPyXL at http://openpyxl.readthedocs.org/.
Al is generally a good guy but he's trying to save face instead of admit his mistake in encouraging people to not worry about using a newer version which as it turns out was not good advice.
9
u/AlSweigart Author of "Automate the Boring Stuff" Sep 30 '19
New versions should stay backward compatible with the instructions in this book for quite some time.
What naive idiot would say something like that? *checks book* Oh, me apparently.
3
u/eykei Sep 29 '19
Honestly it was a good exercise to update the code and have to reference the actual documentation rather than his cliff notes version.
1
Sep 29 '19
Not when you’re trying to follow the exercises and the syntax given had been deprecated.
10
u/eykei Sep 29 '19
thats exactly what I mean though. You're given a piece of code that's deprecated, and you need to get it working again. It forces you to read the documentation (something you'll have to do to learn any module), rather than copy line by line.
2
10
u/KingQuin Sep 29 '19
How does this compare to the book Python Crash Course 2nd edition ?
4
u/covah901 Sep 29 '19
Python Crash Course is friendlier to absolute beginners. I thought given the name "Crash Course" it would try to heap information on me in a way that left me unable to understand, so I got Automate The Boring Stuff first, after hearing a lot of good things about it. I got stuck pretty fast and decided to give Python Crash Course a try. So far I've been getting along much better with that one. Once I'm done with Crash Course I'll return to Automate The Boring Stuff.
3
u/FartingBob Sep 29 '19
My early experiences back this up. Having known a very small amount of java script and html (so I was aware of concepts but not really specifics) crash course was easier to start on. Although I am using both so when I find a bit I get Co fused by I can find the corresponding chapter in the other book and see if it makes it clearer.
0
Sep 29 '19
[deleted]
1
u/KingQuin Sep 29 '19
I have found the free version online for the first edition of the Crash Course. Would I be at a disadvantage by starting with the first edition?
5
4
u/ScarletPimpernickle Sep 29 '19
Thank you u/alsweigart ! Bought the 1st edition hard copy and also used the online version. It’s been the biggest help in getting through the baby steps in my python journey so far!
Yes I also ran into deprecated methods, etc. in openpyxl but I figured so what, someone else maintains that and I had to do some research and tinkering on my own to figure it out. I think it helped my own development to have to get through it instead of it all being handed to me on a silver platter.
4
u/AlSweigart Author of "Automate the Boring Stuff" Sep 30 '19
I'll be writing up a blog post about what's new in the second edition. Basically: about 100 pages of content overall, updating the third-party stuff (especially openpyxl), modules for gmail and google sheets, and a few new programming projects (some simple programs like Rock Paper Scissors to provide an idea what programs look like).
1
2
u/LiarsEverywhere Sep 29 '19
I've just started studying the free version (at chapter 6 right now). I wonder if I should start over lol
I'll check it out when if it comes out for free.
2
1
Sep 29 '19
For beginners I would recommend 'Python crash course', it's a project based learning. Although it has some old code in it but you will find all the updates on writer's github.
1
u/chimera765 Sep 29 '19
I bought the second edition of PCC and it has some updates too. Great resource!
0
Sep 29 '19
[deleted]
1
u/WonderfulPlay Oct 08 '19
If I purchase it now, do I get the eBook right away? or is it just pre-order and wait till end of the month?
1
Sep 29 '19
I took the class (Udemy), got the first edition..great book by the way and also used the site.
Ill probably check out the second edition also.
1
u/su5577 Sep 29 '19
Can python automate anything? How well does it work with windows 10.
I’m trying to create script that can delete all I.E temp files and reset I.E to default settings. If will wasn’t he user first to close I.E before it can reset.
Learning the essentials of python now as I have subscription to Lynda learning courses.
0
u/raddpuppyguest Sep 29 '19
Third edition comes out later this month, so you should probably pick that one up if you want a hard copy.
11
4
u/ModElfShin Sep 29 '19
It's the second edition that's about to be released, not the third. Amazon et al have the release date set to October 29 while No Starch Press (the publisher of the printed book) only states "October".
151
u/shiftybyte Sep 28 '19
I hope you know this book is available for free digitally.
And its much more updated then any printed version you will find of it.
https://automatetheboringstuff.com/chapter0/
Free to read under a Creative Commons license.