r/learnpython • • Jun 22 '20

How to approach Automate the Boring Stuff?

Hi all,

I have been using all the extra time we have at the moment to start studying Python (no previous coding experience). I tried Codecademy for awhile, alongside a few Youtube tutorials - but after seeing it recommended so much on this sub started working my way through the ATBS book. I'm really enjoying it so far; it feels like it's sticking a lot more than the other avenues I had tried before!

I was just wondering if it is the sort of text I should work through from start to finish, or if after covering some of the introductory chapters I should jump into the later sections and begin working on some usable projects? For those that aren't familiar with the text, you can find it here.

I'm not sure it's worth mentioning, but I am currently making my way through chapter 3. Fortunately, I am still able to do my job from home, so have been squeezing in time for learning early in the mornings or on my lunch breaks.

336 Upvotes

60 comments sorted by

147

u/[deleted] Jun 22 '20

I would not recommend skipping the book. Go cover to cover, you will learn things that are used in future parts.

It's written the way it is for a reason, especially if you're new.

73

u/figurita814 Jun 22 '20

It depends on what you want to do with python. I would recomnend you to read the First chapters so you get familiar with Python's syntax, and then, to start exploring the next chapters to see if there Is anything that calls yours attention (if there isn't something already). Sorry about my English, I'm from Argentina

62

u/Soulstoned420 Jun 22 '20

I would bet anyone who complains about someone else’s English only speaks 1 language. Your English is great!

22

u/figurita814 Jun 22 '20

Thank you! I should show this to my english teachers ;)

10

u/Rimini201 Jun 22 '20

I know - they’d have no empathy of the difficulties of speaking in a non native language

4

u/xyphanite Jun 22 '20

In my experience having lived in several different countries is that foreigners' English is almost always better than most native English speaking people I know.

-4

u/[deleted] Jun 22 '20

So bs stop generalizing

11

u/xyphanite Jun 23 '20

Not generalizing, I said from "my experience", not "This is how the world is". There are plenty of US natives that have very good grammar, but the fact that Swedes learn not only their native language almost right away, they also learn proper English. When I was growing up I had 2 years of Spanish, but could never hold a conversation, 1 year of Russian out of choice but the best I can do is read it, mostly because it's phonetic. My apologies if I offended you. Was just an observation.

1

u/[deleted] Jun 23 '20

Not offending at all and i dont care about ppl downvoting at the end its just a number anyways. From my own experience ive been to several countries I can say thats clearly not the case from what I have experience. People really generalize very quickly based on a small sample.

2

u/asgfgh2 Jun 23 '20

You're right, I'm a unilingual grammar Nazi

9

u/[deleted] Jun 22 '20

Yeah I personally stopped around midway through regex then dropped it. I just needed to learn the basic syntax and knowledge, not regex and web scraping

3

u/[deleted] Jun 23 '20

One of the main reasons I want to learn Python is for web scraping. ;)

2

u/[deleted] Jun 23 '20

Then go for it. I'll prob learn it eventually I just currently use Python for data manipulation and automation scripting at the moment.

6

u/Morkai Jun 23 '20

If you hadn't have said you were from Argentina, I would have had no idea you were not a native English speaker. Excellent work. Much better spelling and grammar than many English speakers :D

2

u/[deleted] Jun 23 '20

Agreed. I didn't think a thing of it. Great English.

3

u/Quinhos Jun 22 '20

Sorry about my English

Your English is great bro, don't say stuff like that!

sorry about my english

2

u/LA2Oaktown Jun 22 '20

As long as your a Boca Jrs fan, your English is fine.

2

u/chirau Jun 22 '20

In college, my roommate was from Argentina and he was a big River Plate fan. I remember perfectly the day he cried for hours when River was relegated and they had to sit in the middle of the pitch until a tunnel was put out for them to leave the field. The supporters were singing for their blood.

2

u/LA2Oaktown Jun 23 '20

And thats why you should be a Boca jrs fan... even if they beat us in a big final 2 years ago

2

u/[deleted] Jun 23 '20

Your English is better than mine is 90% of the time. Keep up the good work!

15

u/[deleted] Jun 22 '20

Uh...if youre brand new to coding...probably not a good idea to skip ANYTHING...because you have no idea if later in the book (and he DOES do this) that hes building upon something that you have skipped out on and now youll have to either google it or go back and read that section that you missed.

27

u/PaperPages Jun 22 '20

I mostly read it cover to cover a little while ago, but now I’ll pick it up and skim through a chapter from time to time now to revisit some topics and keep it a bit fresh in my brain.

24

u/Ser_Drewseph Jun 22 '20 edited Jun 22 '20

I recommend following it as-is. It’s laid out really well to give a full understanding of the language and programming concepts in general.

If you’re really anxious to move on to projects, I recommend getting through at least Chapters 1 through 6 or 7 before attempting a project. Maybe also go through Chapter 9 on top of that- file I/O is really useful, especially in beginner projects. 11 is crucial, and 12 is just fun. Past that, I’d say it becomes optional depending on what you’re interesting in using Python/programming for.

3

u/snip3r77 Jun 22 '20

what about for someone that has intermediate experience with python ? thanks

7

u/Ser_Drewseph Jun 22 '20

I think that depends on what you consider to be intermediate level of knowledge. If you already know Python to the extent that you’re comfortable building small applications or scripts, then I’d invert my advice above. Chapters 1-7 will be stuff you already know. If that’s the case and you’re just looking for different ways to automate things, you’d probably be fine to just cherry pick whichever chapters seem to appeal to you. Like if you work in an office setting and just want to learn how to update spreadsheets, you’d be fine to only look at chapters 13 or 14, or 18 if you want to automate emails, etc.

8

u/Periwinkle_Lost Jun 22 '20

Regex section tripped me hard, I kinda stopped and I struggle to find motivation to get back to it :(

Next Monday I shall continue. Hopefully this promise to strangers here on reddit will motivate me

6

u/findthereal Jun 22 '20

I found this was very dense, I spoke to my friend who’s an experienced dev - he said skip it. You really don’t need to know it inside out. Pretty much anything you’ll need to do with it, someone in stack overflow / google will serve it up to you on a plate.

1

u/Dancing_Hitchhiker Jun 22 '20

yea there are a lot of examples out there for this, i learned the idea around it and moved on.

6

u/SDSunDiego Jun 23 '20

Regex has been one of the coolest functions that I have learned so far. It is insanely powerful. It really started to click all together when I watched this video

4

u/iJustLikePhysics Jun 23 '20

I had a really hard time with regex (5 years of dev experience) until a couple of months ago. This site (https://regexone.com/) really helped me out! It lets you write regex for little challenges and let’s you see in real time what’s being selected.

2

u/[deleted] Jun 23 '20

RemindMe! 7 Days "Remind this complete stranger to get back to the book"

1

u/RemindMeBot Jun 23 '20

There is a 45.0 minute delay fetching comments.

I will be messaging you in 7 days on 2020-06-30 00:15:04 UTC to remind you of this link

CLICK THIS LINK to send a PM to also be reminded and to reduce spam.

Parent commenter can delete this message to hide from others.


InfoCustomYour RemindersFeedback

1

u/[deleted] Jun 23 '20

Well no need to remember all that stuff, just scan through the chapter and you can keep a cheatsheet in hand. That should do

1

u/999number9 Jun 23 '20

Dude this is exactly where I stopped a while ago and I couldn't really push myself to "get it". Going through this site really helped me out as far as understanding it. But know that regular expression isn't really required so much as it makes things exponentially easier. I'm still at this spot in the book but it may help to know that you're not the only one stuck at this section.

1

u/[deleted] Jun 30 '20

Let's see if this promise motivated you

1

u/Periwinkle_Lost Jun 30 '20

It did! I did the regexone exercises and it helped immensely!

1

u/[deleted] Jun 30 '20

Really happy for you, keep learning.

1

u/bbbbenjamin Jun 22 '20

Lots of helpful comments - so thank you! I’m not particularly anxious about storming ahead, I’d rather a strong foundation. So I think I will continue working through until about chapter 6/7 and then see how I feel then, and in the mean time I’ll carry on with some basic revision/learning apps to keep the language ticking over

3

u/njd2020 Jun 22 '20

In the same position. I recommend doing challenges through Edabit or something similar while you go through ATBS. I found myself following along Al just copying his code without really thinking about it for myself. I left knowing what I could do, but not knowing how to do it. Edabit has given me a better understanding of how how to read and write my own code, albeit it's still simple stuff at this point.

2

u/socks888 Jun 22 '20

if you are worried about committing to it, there's a udemy course in which he goes over the basics of each chapter, yet its not skimpy because he does lead u through examples.

I felt that learning style was more my speed. then after following all the videos, for the topics that I was really interested in I revisited them in the book to tackle the projects in greater depth.

2

u/videogamehelper Jun 22 '20

Read it cover to cover. It'll really help. The projects at the end of each chapter are invaluable for learning python.

I still wouldn't understand lists and dictionaries if I skipped those chapters lol.

1

u/BrianDaWiz Jun 22 '20

Im reading the same book! I’m on chapter 2 and was wondering the same thing!

1

u/RajjSinghh Jun 22 '20

How far did you get through codecademy? If you have that solid foundation already and you know how to use skills like loops, if statements and functions then you can probably skip over those chapters. For the stuff that may be new, it would probably be better to read those in order

1

u/tomtomato0414 Jun 22 '20

Cover to cover

1

u/TXmechE Jun 22 '20

I also have this book. I struggled with wanting to skip a couple chapters ahead and did a couple times. I would recommend sticking with going in sequence. If you can, it’s on Udemy as well and there was a free coupon for it, don’t know if it’s still valid. Regardless, supplement what you learn from the book by grinding through examples and making your own examples. Also try code wars to apply some of the things you learn.

1

u/espero Jun 22 '20

Practicalbusinesspython website is also good!

1

u/Token_Panda Jun 22 '20

I would go straight through, but if you’re a total beginner (like I was) it can be pretty disheartening/difficult. That was pretty humbling for me, and I ended up using other resources that were more explicit (Python Crash Course) and then moved on to Data Science focused things.

But again, everyone said the book was so easy and straight forward that I got a little down on myself when I found it difficult. So I would encourage you to keep plugging and if it’s too annoying or too much, try Python Crash Course.

1

u/YodaCodar Jun 22 '20

I've done Automate the boring stuff 4 times and got stuck on chapter 7 every time any help for me as well?

1

u/Dwarf_King Jun 22 '20

I would recommend looking into how to program and go through the necessary concepts which are chapters 1- 10ish chapters in. Once you have done those, start doing projects and going to Codewards.com. I skipped the regex section and the Excel section as they are a bit difficult to understand and aren't really necessary for later chapters. I will go back once I am through with the book and revisit the ones I skipped or the ones I don't fully understand.

1

u/juleswp Jun 22 '20

Start to finish. Keep it simple.

1

u/[deleted] Jun 23 '20

I learned A solid amount of Python’s foundation from Automate The Boring Stuff. I recommend it and Al is working on updating the video lessons for the second volume.

1

u/TSPhoenix Jun 23 '20

I'd suggest having some task in mind that you'd like to automate so as you go through the lessons you can think if/how what you are learning might help with that task.

The act of applying that knowledge to a task is what programming is, not following tutorials.

1

u/krkrkra Jun 23 '20

I'd recommend going straight through. It wasn't quite my first exposure to coding (I fiddled with Codeacademy some), but it was pretty close and, honestly, I thought it was very useful. Builds some good habits, gets you used to debugging things and finding mistakes, gives you a view of the things you can do with Python, etc. It also meant that when I started in on actual computer science courses, I wasn't trying to learn Python syntax for the first time.

1

u/Ikuyas Jun 23 '20

Don't approach it.

1

u/sanjib0341 Jun 23 '20

This book is good. But there is a problem. I follow this book regularly. When you are done with the basic and start regex, it will start intense. The book covers the basics good but also context based. The book is clearly for someone who wants to get things done by python. I would recommend you to start a Udemy video course alongside. Whenever you feel left out start watching the video. It will crawl your basics. Recommended: Tim bachalka’s python course. It’s like 50 hrs course.

1

u/[deleted] Jun 23 '20

I am reading through the same book currently. I am on page 32. Ironic that I should run across this post.

1

u/CharanReddy2000 Jun 23 '20

Lesson that I learnt from Experience:

Learn the basic syntax and start practising the small problems.Then take a small project that you are intrested and start to code for that project.You will gain more knowledge and you have the grip over the basics.

0

u/iggy555 Jun 22 '20

With an open mind

0

u/colorist_io Jun 22 '20

I think you're supposed to pick one you are interested in working on. Then move on to the next one.