On Linux we use #!/usr/bin/env python At the start of scripts to ensure that the python executable used is the one defined in the PATH variable, rather than hardcoding a path to the python executable.
What is the equivalent functionality in Windows? -- https://mail.python.org/mailman/listinfo/python-list