Oops, sent to the wrong address!
2006/9/19, Sanghyeon Seo <[EMAIL PROTECTED]>:
> Following Elliot's advice, I changed my scripts to use sys.executable
> instead of hardcoding the path. Also in SVN.
>
> # in run_tests.py
> import os, sys
> os.putenv('PYTHON', sys.executable)
>
> # in shell scripts
Following Elliot's advice, I changed my scripts to use sys.executable
instead of hardcoding the path. Also in SVN.
# in run_tests.py
import os, sys
os.putenv('PYTHON', sys.executable)
# in shell scripts
$PYTHON alltests.py
--
Seo Sanghyeon
--
http://mail.python.org/mailman/listinfo/python-list