0
Got my first Python script to run without errors after three days of trying
Last week, I was stuck trying to make a script that would rename a bunch of files in a folder. I kept getting a 'FileNotFoundError' every time. I finally figured out I had to use the full path to my 'Downloads' folder on my Windows machine, not just the file name. It felt so good to see it work and rename all 47 files. Has anyone else had a simple path issue trip them up for way too long?
3 comments
Log in to join the discussion
Log In3 Comments
rowan_roberts491mo ago
Three days for a path issue?
6
william_carter1mo ago
Ever try to fix a simple thing for hours? I spent a whole afternoon once because a screw was just a quarter turn loose. The noise was driving me nuts.
3
riley_west1mo ago
My neighbor's dryer took a week to fix because a single belt was upside down. It's always something tiny.
3