Finding where to store application data portably
mwm at mired.org
Thu Sep 22 16:29:01 CEST 2005
rbt <rbt at athop1.ath.vt.edu> writes:
> On Tue, 2005-09-20 at 23:03 +0100, Tony Houghton wrote:
>> I'm using pygame to write a game called Bombz which needs to save some
>> data in a directory associated with it. In Unix/Linux I'd probably use
>> "~/.bombz", in Windows something like
>> "C:\Documents And Settings\<user>\Applicacation Data\Bombz".
>> There are plenty of messages in the archives for this group about how to
>> find the correct location in Windows, but what about Mac OS?
> ~/.bombz works equally well on OSX.
But Mac users - as opposed to Unix geeks - will expect to find it in
Us unix geeks can symlink that to ~/.bombz if we use the application
on both platforms.
Mike Meyer <mwm at mired.org> http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.
More information about the Python-list