Are there any way to check the Python interpreter version without entering the Python shell or writing Python script?
Printable View
Are there any way to check the Python interpreter version without entering the Python shell or writing Python script?
You can use the Python command to get the Python interpreter version. For the default Python installation use
python -v
OR for Python2
python2 -v
Or Python3
python3 -v