Hi,
Very new to Python and still stumbling around but need some help.
As part of a larger script, I'd like to run a routine that checks for the existence of a file once a second for about 3 minutes and if it suddenly appears, carry on with the rest of the script but if its not there, keep on looking until the 3 minutes are up (and then stop processing any more of the script).
I know I can use
os.path.isfile
to check and it must be some kind of while/for loop but just can't get my head round what i need.
Any help would be most appreciated.
Cheers,
Mattokun