¡@

Home 

python Programming Glossary: test_script

How to write a batch file showing path to executable and version of Python handling Python scripts on Windows?

http://stackoverflow.com/questions/7825780/how-to-write-a-batch-file-showing-path-to-executable-and-version-of-python-handl

Here's my first solution SOLUTION 1 @echo off set test_script .pyexe.py rem Let's create temporary Python script which prints.. import sys print sys.executable print sys.version test_script echo Python accessible through system PATH python test_script.. echo Python accessible through system PATH python test_script echo echo Python set as handler for Python files test_script..