4
Spent 4 hours yesterday because I forgot a single semicolon in my Python script
Honestly, I was trying to make a simple script to rename a bunch of files in a folder on my desktop. Ngl, I was following a tutorial from a site called Codecademy. My code looked perfect, but it just wouldn't run. I checked everything, even rewrote it twice. Turns out I'd put a semicolon at the end of one line, which Python doesn't even use. Has anyone else wasted a whole evening on a tiny syntax mistake like that?
3 comments
Log in to join the discussion
Log In3 Comments
gonzalez.stella17d ago
Read an article once about how our brains just skip over tiny mistakes like that when we're tired. You stare at the same lines of code for so long that you stop actually seeing them. My worst one was mixing up a single quote and a backtick in a config file, shut my whole project down for a day. That feeling when you finally spot it is equal parts relief and pure rage.
1
oscarcooper7d ago
Ugh, that backtick one gets me every time.
7
karent7516d ago
That rage relief combo hits so hard it's almost funny.
2