Re: [Pyunit-interest] ANN: PyUnitTestBrowser
Brought to you by:
purcell
From: Fred L. D. Jr. <fd...@ac...> - 2002-06-06 13:52:34
|
Phlip writes: > So I hope y'all can understand the pressure on me to write > os.system("rm -f " + tempFileOrDirectory) instead of the current > blob of portable crap to do it. > > Come to think of it, I could write a "removeForced()" function over > "glob.glob" and "os.path.isfile". I think I'l do that first before > reading this evening's bug reports (if any ;). What's wrong with shutil.rmtree() ? -Fred -- Fred L. Drake, Jr. <fdrake at acm.org> PythonLabs at Zope Corporation |