B
19

Finally got my first Python script to run without errors

I used to just copy and paste code from tutorials without really understanding it, but yesterday I wrote a simple file organizer from scratch and it worked on the first try. Anybody else have that moment where something just clicks after weeks of frustration?
2 comments

Log in to join the discussion

Log In
2 Comments
craig.mila
Wait, you're telling me a first try actually worked? I've been coding for six months and I still celebrate when something compiles after the fifth attempt at fixing a stupid typo. That must have felt like winning the lottery or something.
4
christopher943
Oh man, yeah. I've had that happen maybe twice in ten years. The trick I learned is to stop and walk away for a few minutes before hitting run. If I rush, I always miss something dumb like a semicolon or a typo in a variable name. Taking that break forces my brain to reset. Also helps to read your code out loud, catches more than you'd think.
3