As far I can tell, there are separate APIs to remove folders and files in Python (os.remove and os.rmdir or shutil.rmtree).  Isn't there one function library that does it all, no question asked, or do I need to write my own function to do so?
In short, what is the python equivalent of rm -fr ?
