Remove diretory with files in it

samuel Parkay sap at eibnet.com
Sun Aug 25 04:45:02 CEST 2002


I can;'t  seem to make the os.rmdir()path) command to work the way I
need it .  I would like it to be like" rm -rf" in unix .  It keeps
throwing an exception about not being empty.  Is there a way to rmove
a directory and it's contents in python?

Samuel P.




More information about the Python-list mailing list