Jan. 15, 2015
2:54 p.m.
On Fri, Jan 16, 2015 at 1:52 AM, Skip Montanaro <skip.montanaro@gmail.com> wrote:
On Thu, Jan 15, 2015 at 8:31 AM, Wolfgang Maier <wolfgang.maier@biologie.uni-freiburg.de> wrote:
What would be good is if the launcher had an additional flag telling it to not actually start python, but just report the path to it, something like:
$ py --dry-run my_script
C:\Python34\python.exe
How about:
% python -c 'import sys ; print sys.executable' /opt/local/bin/python
It has to be able to be controlled by a shebang in the script itself. ChrisA