What do you mean by default?
Default means when I type "python" at command line, v3 is used and not v2.
No.
Code: Select all
pi@Pi3:~ $ python
Python 2.7.13 (default, Jan 19 2017, 14:48:08)
[GCC 6.3.0 20170124] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
pi@Pi3:~ $ python3
Python 3.5.3 (default, Jan 19 2017, 14:11:04)
[GCC 6.3.0 20170124] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
pi@Pi3:~ $
Code: Select all
pi@Pi3:~ $ alias python=python3
pi@Pi3:~ $ python
Python 3.5.3 (default, Jan 19 2017, 14:11:04)
[GCC 6.3.0 20170124] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
pi@Pi3:~ $