script #!python script #!python script runs under latest installed runs under latest installed runs under (onlyon windowscommand lines are typed in command prompt windowdesignated by its :\codeprompt in this appendix the first of the following is the same as both the second and an icon clickbecause of filename associationsc:\codescript py :\codepy script py run per file' #line if presentelse per default dittobut py exe is run explicitly alternativelythe second technique just listed can select versions with argument switches in command lines insteadc:\codepy - script py :\codepy - script py :\codepy - script py runs under latest runs under latest runs under (onlythis works both when launching scripts and starting the interactive interpreter (when no script is named) :\codepy - :\codepy - :\codepy - :\codepy starts latest xinteractive starts latest xinteractive starts (only)interactive starts default python (initially xsee aheadif there are both #lines in the file and version number switch in the command line used to start itthe command line' version overrides that in the file' directive#python script \codepy script py \codepy - script py runs under per file directive runs under even if present the launcher also applies heuristics to select specific python version when it is missing or only partly described for instancethe latest is run when only is specifiedand is preferred for files that do not name version in #line when launched by icon click or generic command lines ( py pym py)unless you configure the default to use instead by setting py_python or configuration file entry (more on this ahead appendix bthe python windows launcher