AnsweredAssumed Answered

Check does file exist in folder

Question asked by jmcc on Apr 20, 2018
Latest reply on Apr 23, 2018 by jmcc

I am writing a python script which deletes a file if it is present in a particular folder.

I want to be able to check if the file exists first, and if it exists I want to delete the file but if it doesn't exist I want to do nothing.

Anyone any ideas on this.