How to Search a Folder for a File in Python?
Hello everyone, I am trying to make a simple program that asks for something simple (like a name) and uses that input to search a folder for a file with the same name. If such a file doesn't exist, the program will create a file with said name and write in answers to a series of questions.
As of now, the only component the program is missing is a way to search a folder for a specific, named file matching the input value. If anyone could shed some light on this process I would be grateful, as google hasn't been much help. Thanks!