I got both python2 and python3 installed in my debian machine. But when i try to invoke the python interpreter by just typing \'python\' in bash, python2 pops up and not python3
btw, if you are using bash or running from the shell, and you normally include at the top of the file the following line:
#!/usr/bin/python
then you can change the line to instead be:
#!/usr/bin/python3
That is another way to have pythonX run instead of the default (where X is 2 or 3).