- - - - launch the latest python version launch the latest python version launch the specified python version ( is or launch the specified -bit python version and the launcher' command lines take the following general formpy [py exe arg[python exe argsscript py [script py argsanything following the launcher' own argument (if presentis treated as though it were passed to the python exe program--typicallythis includes any arguments for python itselffollowed by the script filenamefollowed by any arguments meant for the script the usual - mod- cmdand program specification forms work in py command line tooas do all the other python command-line arguments covered in appendix as mentioned earlierarguments to python exe can also appear at the end of the #directive line in fileif usedthough arguments in py command lines override them to see how this workslet' write new script that extends the prior to display command-line argumentssys argv is the script' own argumentsand ' using the python (python exe- switchwhich directs it to the interactive prompt (after script runsargs pyshow my arguments too import sys print(sys version split()[ ]print(sys argvc:\codepy - - args py - - - ['args py''- '' ''- ''- '^ - py-ipythonrestscript :\codepy - args py - - - ['args py''- '' ''- ''- '^ args to pythonscript :\codepy - - print( - to pyrest to python"- cmdc:\codepy - - "print notice how the first two launches run the default python unless version is given in the command linebecause no #line appears in the script itself somewhat coincidentallythat leads us to the last topic of this tutorial step using and changing defaults as also mentionedthe launcher defaults to for generic python in #directive with no specific version number this is true whether this generic form appears in windows launcher tutorial