phatch-dev team mailing list archive
-
phatch-dev team
-
Mailing list archive
-
Message #00313
desktop folder on mac os x
Hi Robin,
Do you know how to retrieve the desktop folder on a Mac. Now I use:
elif sys.platform.startswith('darwin'):
# Mac: verify this!
DESKTOP_FOLDER = os.path.expanduser('~/Desktop')
This most likely not correct. Could you find a better solution?
Best regards,
Stani
--
Phatch Photo Batch Processor - http://photobatch.stani.be
SPE Python IDE - http://pythonide.stani.be
Follow ups