0
absolute newbie question: Why i can not find out what my python version is?
i open the platform and write : python -v and the the error: >>> python -v Traceback (most recent call last): File "<stdin>", line 1, in <module> NameError: name 'python' is not defined >>> i'm totaly new on python, and i know my python version is: IronPython 2.7.3 (2.7.0.40) on .NET 4.0.30319.42000 (64-bit) Type "help", "copyright", "credits" or "license" for more information.
2 ответов
0
got solved.... it has to be operated on the Command Prompt and typing the python -v to see the python version.
Newbie i guest ... thanks
- 1
ok so...
>>> import sys
>>> print(sys.version)
3.7.1 (v3.7.1:260ec2c36a, Oct 20 2018, 14:05:16) [MSC v.1915 32 bit (Intel)]
it mean i all ready install python?
but again if a use the:
>>> python -v Traceback (most recent call last): File "<stdin>", line 1, in <module> NameError: name 'python' is not defined >>>
same error.