Ertl, John wrote:
it seems to me that if its on a *nix box you could use the shell command rm -rf <target>I am trying to remove a directory that has other directories and files in it. I thought removedirs was supposed to do a recursive remove of files and directories.
When I try it I get
os.removedirs("DAF")
Traceback (most recent call last): File "<pyshell#11>", line 1, in -toplevel- os.removedirs("DAF") File "/home/ertlj/ertljVersion/lib/python2.3/os.py", line 167, in removedirs rmdir(name) OSError: [Errno 17] File exists: 'DAF'
Thanks,
John Ertl
_______________________________________________ Tutor maillist - [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/tutor
_______________________________________________
Tutor maillist - [EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/tutor