[Python-ideas] pep 397

Skip Montanaro skip.montanaro at gmail.com
Thu Jan 15 15:52:46 CET 2015

On Thu, Jan 15, 2015 at 8:31 AM, Wolfgang Maier
<wolfgang.maier at 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'



More information about the Python-ideas mailing list