This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
| Author | serhiy.storchaka |
|---|---|
| Recipients | eric.araujo, hynek, ivan.radic, pitrou, r.david.murray, serhiy.storchaka, tarek |
| Date | 2014年09月26日.07:18:39 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1411715919.87.0.156625509574.issue19642@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
Rather like this: for n in os.listdir(dirpath): p = os.path.join(dirpath, n) if os.path.isdir(p): shutil.rmtree(p) else: os.unlink(p) |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2014年09月26日 07:18:39 | serhiy.storchaka | set | recipients: + serhiy.storchaka, pitrou, tarek, eric.araujo, r.david.murray, hynek, ivan.radic |
| 2014年09月26日 07:18:39 | serhiy.storchaka | set | messageid: <1411715919.87.0.156625509574.issue19642@psf.upfronthosting.co.za> |
| 2014年09月26日 07:18:39 | serhiy.storchaka | link | issue19642 messages |
| 2014年09月26日 07:18:39 | serhiy.storchaka | create | |