Broke my first Python script 20 minutes after finishing the tutorial, and the error message meant nothing to me
So I finished the free Python course on YouTube yesterday, felt pretty good about myself, and decided to write a little script that renames all the photos in my Downloads folder. Ran it once and it worked on like 3 files, then I changed one line to add a counter and suddenly got a wall of red text saying IndentationError on line 14. I stared at that line for 10 minutes and it looked identical to the one above it, so I just deleted the whole thing and started over, which somehow fixed it. Is there a trick to spotting indentation problems, like a setting in VS Code that shows the invisible spaces? Because I honestly can't tell what I did wrong.