check python config in kali linux code example
Example 1: python version kali linux
$ python2 --version
or
$ python --version
Example 2: check python version kali linux
$ python2 --version
$ python2 --version
or
$ python --version
$ python2 --version