check version of python in command line code example Example: how to find the version of python command linw python --version