G
17

That week in March when my Python script finally ran without errors

I spent three days straight trying to get this web scraper to work, and every time it crashed on line 47. I was about to give up, but then I found a free online course from a guy named Kevin in Toronto that explained loops in a way that finally clicked. I rewrote the whole thing, ran it, and it just worked, pulling data from 100 pages like it was nothing. Has anyone else had a moment where one small tutorial made a huge block of code finally make sense?
3 comments

Log in to join the discussion

Log In
3 Comments
jordant69
jordant694mo ago
That feeling when a single YouTube video fixes your entire weekend of broken code.
5
davis.mia
davis.mia4mo ago
Was it one of those Kevin Powell CSS videos? That guy saved my front end project last month. I had this layout that would not line up right on mobile no matter what I tried, and his flexbox explanation made it seem so simple. Felt like a lightbulb went off, and I fixed it in like ten minutes after being stuck for two days.
3
henrys74
henrys742mo ago
That Kevin guy is the real MVP for sure. Something nobody talks about though is how the time of day you're coding can mess with your brain. I swear I tried the same loop fix at 2am and it failed, then tried it again at noon and it worked perfectly. Probably just sleep deprivation making me miss a semicolon, but still. Also line 47 always seems to be the cursed line in any script, why is that always the one that breaks?
2