20
PSA: My first Python script kept crashing
Ngl, using print statements to debug was a game changer.
3 comments
Log in to join the discussion
Log In3 Comments
cole9948d ago
Have you ever seen a script with more print than actual code? It's a phase we all go through.
7
rosebarnes6d ago
Disagree, print debugging stays helpful long after you learn the fancy tools.
7
willoww948d ago
It's funny how often the simplest fix is the right one. My mom will spend an hour on tech support before checking if the router is plugged in. Or I'll tear apart a recipe adding spices when it just needed more salt. That print statement method is the same thing, just checking the basic connection before assuming the whole system is broken.
3