+ 4

I need help creating a python program that needs to look for a file.

Description: A machine makes files every minute or so. The machine does not go over two minutes. I need to create a program that makes a pop-up message that tells me if the machine made a file after the two minutes. Where should I start and what should I do? Writing in python.

2nd Nov 2017, 4:04 AM
Hyrum Harris
Hyrum Harris - avatar
1 Answer
+ 2
if you want to perform automated task you need to look into thread scheduleling.like after 2 minutes file would be created and alert the text...make sure you would perform it in try catch cuz error handling is very important. "Need to look for a file" from that i think you want to search a file into your specified folder or destination path. Learn how to get in touch with system (windows , linux,mac) means the commands which triggers or gives you access of the system to perform your task. Good thought of making a search engine for desktop. you can also use GUI tools to make it more flexible and user friendly if you're makig this for user perspective otherwise CLI would be the best less code...more outcomes. Who doesn't want that 😁
2nd Nov 2017, 6:54 AM
Vipul Walia
Vipul Walia - avatar