T
17

Spent two hours trying to fix a bug that was just a missing comma

I was working on a small project last night, a simple Python script to sort my movie list. I kept getting this 'SyntaxError' every time I ran it. I checked the logic, I checked the variable names, I even restarted my computer. I was sitting at my kitchen table, getting really annoyed. After about two hours of staring at the screen, my eyes just went to this one line where I had a list of movie titles. I had written 'The Dark Knight' 'Inception' but forgot the comma between them. I put that one comma in and it ran perfectly. I felt so silly. Has anyone else lost a big chunk of time to a tiny mistake like that?
2 comments

Log in to join the discussion

Log In
2 Comments
emmafisher
emmafisher11d ago
My last project had a typo in a variable name that took me three days to find.
7
elizabeth_williams
Story of my life right there.
6