First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
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.