Message121595
| Author |
brian.curtin |
| Recipients |
brian.curtin, dbkoch, tarek, ysj.ray |
| Date |
2010年11月20日.05:18:15 |
| SpamBayes Score |
3.956889e-06 |
| Marked as misclassified |
No |
| Message-id |
<1290230297.16.0.740384314211.issue8705@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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 "". |
|
History
|
|---|
| 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 |
|