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

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to