How to Search a Folder for a File in Python?

Apr 22, 2016 07:09 AM

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!

Related Articles

637263493835297420.jpg

How to Use Zero-Width Characters to Hide Secret Messages in Text (& Even Reveal Leaks)

636455706472146367.jpg

How to Hide DDE-Based Attacks in MS Word

Comments

No Comments Exist

Be the first, drop a comment!