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