Finding where to store application data portably

rbt rbt at athop1.ath.vt.edu
Thu Sep 22 08:25:00 EDT 2005


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.




More information about the Python-list mailing list