answered 2024-04-30 19:31:26 -0500
You can use os.remove(filepath) where filepath is the path of the output file you wish to remove.