[Pythonmac-SIG] [Pyobjc-dev] [ANN] py2app 0.3.2

Bob Ippolito bob at redivi.com
Mon Jul 24 18:43:22 CEST 2006


On Jul 24, 2006, at 9:31 AM, Christopher Barker wrote:

> Ronald Oussoren wrote:
>> Setting the working directory to the directory containing the script
>> would be more useful.
>
> 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.

No, it's not. There are approximately zero scripts that expect this  
behavior.

> It might make sense to add the directory containing the script to
> sys.path, however.

That's always the case, PyRun_ExecFile and friends always ensure that.

-bob



More information about the Pythonmac-SIG mailing list