I am working on some stuff where I am storing data in a file.
But each time I run the script it gets appended to the previous file.

I want help on how I can remove the file if it already exists.

7 Answers
7

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *