(Sep-14-2017, 03:25 PM)nilamo Wrote: I don't think this works in the file explorer and double clicking the file (it's just opened in your editor for... editing).It work in explorer to,will look at same place in registry
\Explorer\FileExts\.py
I think is good to be used like this
python hello.py
.Have several version installed use
py -version
,to mange all version.C:\1 λ py -2.7 version.py Hello from 2.7.9 (default, Dec 10 2014, 12:24:55) [MSC v.1500 32 bit (Intel)] C:\1 λ py -3.4 version.py Hello from 3.4.2 (v3.4.2:ab2c023a9432, Oct 6 2014, 22:15:05) [MSC v.1600 32 bit (Intel)] # Main version in Path always python C:\1 λ python version.py Hello from 3.6.1 (v3.6.1:69c0db5, Mar 21 2017, 17:54:52) [MSC v.1900 32 bit (Intel)]I know that can use shebang(after 3.4) in windows,but i would not use.
It will just confuse people because almost no one use it.