How remove directories with the content in the platform independent way?

Andy Leszczynski leszczynscy at nospamyahoo.com
Tue Apr 26 22:47:15 EDT 2005


James Stroud wrote:
> Look at the os and os.path modules.
> 
> http://docs.python.org/lib/module-os.html
> http://docs.python.org/lib/module-os.path.html
> 
> 
> 
> On Tuesday 26 April 2005 07:27 pm, so sayeth Andy Leszczynski:
> 
>>How remove directories with the content in the platform independent way?
>>Is the API for that?
>>
>>Thx, A.
> 
> 
It is not clear if rmdir would remove the non-empty dir ...




More information about the Python-list mailing list