How can we check the Python version of Linux?
How to Check Python Version in Linux
Most modern Linux distributions come with Python pre-installed.
To access a command line or terminal in Linux using
Ctrl-Alt-T, Ctrl-Alt-F2
Just open a terminal window and enter the following:
python --version
How to Check Python Version in Windows
Open window Powershell using win + R then type Powershell and enter Ok
python --version
How to Check Python Version in macOS
Open a terminal using
Finder > Applications > Utilities > Terminal
type
python --version
you will get the python version
Comments
Post a Comment