Multiple python version installs: Difference between revisions

Jump to navigation Jump to search
m
Line 85: Line 85:
</pre>
</pre>


[https://docs.python.org/3/using/windows.html#python-launcher-for-windows 3. Using Python on Windows — Python 3.6.5 documentation]
<pre>
# python 2.x 版本
py -2.7 script_for_version_2.py


已經確認 py -V 是 3.x 版本
# python 3.x 版本
<pre>
py -3 script_for_version_3.py
 
# 已經確認 py -V 是 3.x 版本
py script_for_version_3.py
py script_for_version_3.py
</pre>
</pre>

Navigation menu