how to see version of python in kali code example Example: check python version kali linux $ python2 --version