[Pythonmac-SIG] Yet another problem with path
Blake Winton
bwinton at latte.ca
Mon Jul 14 16:31:57 CEST 2008
Pascal Bompard wrote:
> The fix I have working for this now is to use a symbolic link to the
> directory where I keep my scripts.
If you make the first line of
/Users/pascal/Documents/Python/Dev/myapps/test.py read like so:
#!/usr/bin/env python
and if your path contains /Users/pascal/Documents/Python/Dev/myapps/
(which I believe it does), then you should be able to just type:
test.py
and it'll run the script for you...
Later,
Blake.
More information about the Pythonmac-SIG
mailing list