January 2019
Beginner to intermediate
776 pages
19h 58m
English
In the latter versions of Ubuntu since Ubuntu 14.04, Python 3 can be executed by typing python3:
~$ python3 Python 3.5.2 (default, Nov 17 2016, 17:05:23) [GCC 5.4.0 20160609] on linux Type "help", "copyright", "credits" or "license" for more information. >>>
Similarly, to be specific about which version you prefer to use, you may type python2 to execute Python 2 as well:
~$ python2 Python 2.7.12 (default, Nov 19 2016, 06:48:10) [GCC 5.4.0 20160609] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>>
There are a few changes in Python 3 that made some code written for Python 2 incompatible with Python 3. When you write network applications, try to follow the Python 3 best practices as these ...
Read now
Unlock full access