Python Launcher executable scripts Windows

Python programs can be launched by

python myprog.py

The Python Launcher, on Windows allows running by simply

myprog.py

based on the shebang

#!/usr/bin/env python

which works on Windows and Unix-like OS to search the user’s PATH for the desired Python executable.

Notes

Specific executables #!/usr/bin/python are only for specific situations like GNU Radio. Generally, please use #!/usr/bin/env python.