How to delete text file

how to delete a text file programmatically in ignition by using event client scripts?
and what is script for this?
please anyone give me the solution for this.

short example:

import os os.remove("c:\\temp\\readme.txt")

is this for linux environment?

the specific example script was for a Windows file. Just put whatever path to the file inside the quotes and you should be good to go. :slight_smile:

thank you it is worked under linux also