[Pythonmac-SIG] [Pyobjc-dev] [ANN] py2app 0.3.2
w.northcott at unsw.edu.au
Tue Jul 25 02:40:47 CEST 2006
On 25/07/2006, at 6:20 AM, Christopher Barker wrote:
>> Setting the working directory to the directory containing the
>> script would be more useful.
It really is a bad idea to write into software directories of any
sort. They should be able to be write protected for security.
> I'm not so sure. That's a bad habit from the old MacOS and Windows.
> $HOME is an excellent choice for the default working directory.
/tmp is also to be preferred to $HOME because on most UNIX systems
including MacOS X, it is cleaned out an each reboot. If you use
$HOME you end up with a mass of old temporary files - the standard
Apple seem to have adopted a convention of using /tmp/UID. I think
the idea is that these are cleaned when the user logs out. So a full
restart is not needed to clean out junk.
More information about the Pythonmac-SIG