deleting directory tree

Tom Harris TomH at optiscan.com
Wed Nov 21 01:33:42 EST 2001


Greetings,

Can someone explain what os.removedirs() does? I needed a function to remove
a directory and all its files and subdirectories, and ended up writing one.
It seems that there should be such a function in os, but I drew a blank.

Tom Harris, Software Engineer
Optiscan Imaging, 15-17 Normanby Rd, Notting Hill, Melbourne, Vic 3168,
Australia
email tomh at optiscan.com     ph +61 3 9538 3333  fax +61 3 9562 7742

This email may contain confidential information. If you have received this
email in error, please delete it immediately,and inform us of the mistake by
return email. Any form of reproduction, or further dissemination of this
email is strictly prohibited. Also, please note that opinions expressed in
this email are those of the author, and are not necessarily those of
Optiscan Pty Ltd.






More information about the Python-list mailing list