python interpreter how code example
Example: how to select python 3 interpreter in linux
How to set Python 3 as default interpreter in Linux.
Open terminal and write “alias python=python3” and hit enter.
You are done! Now check your default interpreter version by simply \
run “python -V” command in the terminal.