Message121595
This can't actually work. You can't delete a directory which has open handles to it on Windows, namely the Python process you're running in that directory.
The empty file path isn't really the issue here. shutil.rmtree(os.getcwd()) attempts the same thing but gives you a better error message since a full path gets sent down to os.rmdir rather than "". |
|
Date |
User |
Action |
Args |
2010-11-20 05:18:17 | brian.curtin | set | recipients:
+ brian.curtin, tarek, ysj.ray, dbkoch |
2010-11-20 05:18:17 | brian.curtin | set | messageid: <1290230297.16.0.740384314211.issue8705@psf.upfronthosting.co.za> |
2010-11-20 05:18:15 | brian.curtin | link | issue8705 messages |
2010-11-20 05:18:15 | brian.curtin | create | |
|