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