I have python 2.7 installed on my Linux machine, I just issued another command to install python3, it worked

. But then I try to run
dir myname# python [enter]
I always run python 2.7, I don't know how to get rid of 2.7, I only use 3.x only

Thank you a lot.