command to see python version code example Example: how to check python version python --version #in command line python #or by enterng interactiv mode