[Pythonmac-SIG] Re: Running Python scripts without full paths
kevin parks
kevin@macosx.com
Sun, 1 Dec 2002 04:48:38 +0900
I think that i got it to work.
Apparently you can *NOT* set your path in
~/Library/init/tcsh/environment.mine.
I looked at:
/usr/share/tcsh/examples/login
and that is where the path is set and if you want to append it it has
to be in
/Users/kevin/Library/init/tcsh/path
because that where it looks for appended items.
[snowcat:~] kevin% cd scripts/
[snowcat:~/scripts] kevin% ls
-- foo.py
[snowcat:~/scripts] kevin% ./foo.py
hello kevin
[snowcat:~/scripts] kevin% foo.py
hello kevin
So maybe it does work after all.
I am not sure that ~/.MacOSX/environment.plist
even needs to be set if you are not using an interface or framework.