[Pythonmac-SIG] Re: [pygame] python + pygame on OSX
Russell E. Owen
rowen at cesmail.net
Wed Feb 25 13:57:27 EST 2004
In article <4D1E0CD5-66F5-11D8-A299-000393DB52E4 at 2xtreme.net>,
Keith Nemitz <keithn at 2xtreme.net> wrote:
> >
> > In any case, it is an extremely bad idea to write to the application
> > bundle, and that may have something to do with your trouble. The
> > appropriate place for writing files would most likely be
> > "/Library/Application Support/YourApplication" or
> > "~/Library/Application Support/YourApplication", unless they are plist
> > preferences..
> >
>
> I think it would be an extremely good idea to allow an app to be able
> to write to itself. Currently, my app is 100% cross platform, thanks to
> the good people at py*. Now I'm going to have to sully my hands again
> with religious doctrine and programmer machismo.
OK I'm a bit late here, but is it reasonable to change the way the data
is stored? Every platform has some idea of where to put app-specific
data and on the face of it, that seems a nice place to store it (much
less likely to break on some future platform than modifying an app
bundle).
I even wrote a simple package that returns those directories (as a pair
-- shared first, then user-specific) for Mac, windows and unix. It's in
the RO package at <http://www.astro.washington.edu/owen> in case you are interested (look in RO.OS)
-- Russell
More information about the Pythonmac-SIG
mailing list