Enable Multiple Versions of Python in Pyenv

When I am using python installed from pyenv, we can enable different python versions by issuing the following command:

1
pyenv global 2.7.10 3.4.3

This way we can use python2 and python3.