I have a mac now also (yay work!) -- Your method is the correct way to access the Desktop folder. Perhaps tho phatch stuff goes in the Pictures folder by default instead? Robin, I presume you've been using Mac longer than me, what do you think?
Regards, Erich On Thu, Jun 18, 2009 at 12:53 PM, Stani <[email protected]> wrote: > 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 > > _______________________________________________ > Mailing list: https://launchpad.net/~phatch-dev > Post to : [email protected] > Unsubscribe : https://launchpad.net/~phatch-dev > More help : https://help.launchpad.net/ListHelp >
_______________________________________________ Mailing list: https://launchpad.net/~phatch-dev Post to : [email protected] Unsubscribe : https://launchpad.net/~phatch-dev More help : https://help.launchpad.net/ListHelp

