Search Results

Showing results 1 to 2 of 2
Search took 0.00 seconds.
Search: Posts Made By: seanlynch ; Forum: Python and child forums
Forum: Python Jul 23rd, 2009
Replies: 6
Views: 284
Posted By seanlynch
try shutil.rmtree(dir) instead of os.rmdir(dir)

you will have to import 'import shutil'
Forum: Python Jul 23rd, 2009
Replies: 6
Views: 284
Posted By seanlynch
shutil.rmtree will remove non-empty directories.

shutil.rmtree(path[, ignore_errors[, onerror]])ΒΆ

Delete an entire directory tree; path must point to a directory (but not a symbolic link to...
Showing results 1 to 2 of 2

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC