>If I have a directory /u01/qa/logs and the logs has a number of children > directories and I want to remove everything in logs and logs itself, is
os.system('rm -rf %s ' % logpath)
Sometimes its easier to use the OS directly!
If you were selectively deleting files it would be different but for
the sledgehammer case I'd pobably just go with rm...
Alan g
_______________________________________________
Tutor maillist - [email protected]
http://mail.python.org/mailman/listinfo/tutor
