Message105646
The following sequence raises an exception, but nonetheless removes all files from the Desktop under Windows Vista.
import os, shutil, user
desktop_dir = os.path.join(user.home, 'Desktop')
os.chdir(desktop_dir)
shutil.rmtree('')
This does not occur under Fedora 12. Not tested on Mac OS X yet. |
|
Date |
User |
Action |
Args |
2010-05-13 16:57:24 | dbkoch | set | recipients:
+ dbkoch |
2010-05-13 16:57:24 | dbkoch | set | messageid: <1273769844.52.0.734161024788.issue8705@psf.upfronthosting.co.za> |
2010-05-13 16:57:23 | dbkoch | link | issue8705 messages |
2010-05-13 16:57:22 | dbkoch | create | |
|