This is a guest post from Ann Stark (Twitter @StarkAnn) at The GIS Studio Blog. Ann has put together some really nice posts on the subject of using Python with ArcGIS Desktop. Check out her blog!
In repeated automated tasks, I often have to delete a set of data I am about to recreate fresh. ArcPy offers a delete function, but the faster way to delete is through the os module.