T
1

My entire Python script crashed because I forgot a single colon yesterday

I spent two hours debugging before I noticed the missing punctuation in my 'if' statement on line 47, which is just the worst feeling for a newbie like me. Anyone else have a simple syntax mistake that wasted a bunch of your time?
2 comments

Log in to join the discussion

Log In
2 Comments
elizabethpalmer
Wait, you debugged for two whole hours over a colon? (I feel that pain so hard.)
6
avery_stone95
Honestly, how do you even start debugging something like that? I usually run the code right away and the error message points straight to the line. Maybe your setup doesn't give clear feedback?
4