Python learning for Network Engineers Part 03 | Compare Python version 2 vs 3 | EOL Python 2 PEP 373
𝗙𝗼𝗿 𝗖𝗼𝗺𝗽𝗹𝗲𝘁𝗲 𝗣𝘆𝘁𝗵𝗼𝗻 𝗙𝗼𝗿 𝗡𝗲𝘁𝘄𝗼𝗿𝗸 𝗘𝗻𝗴𝗶𝗻𝗲𝗲𝗿𝘀 𝗖𝗼𝘂𝗿𝘀𝗲:
𝗘𝗻𝗿𝗼𝗹𝗹 𝗳𝗼𝗿 𝗯𝗲𝗹𝗼𝘄 𝗨𝗱𝗲𝗺𝘆 𝗖𝗹𝗮𝘀𝘀: 𝟐𝟎𝟐𝟐 𝐕𝐞𝐫𝐬𝐢𝐨𝐧
𝑫𝒊𝒔𝒄𝒐𝒖𝒏𝒕𝒆𝒅 𝑹𝒆𝒇𝒆𝒓𝒓𝒂𝒍 𝑳𝒊𝒏𝒌:
https://www.udemy.com/course/python-for-network-engineers/?referralCode=35A75AAE1ACA94A15829 Playlist URL :https://www.youtube.com/watch?v=sG_RiytUA38&list=PLOocymQm7YWakdZkBfCRIC06fv7xQE85N
To stay updated with my latest videos Please subscribe to my channel by clicking below
https://www.youtube.com/channel/UCcA2nhdC0wzqyv9x1lk5NnA?sub_confirmation=1
Although Python 2.7 is still used in some places, Python 3 adoption is growing quickly.
Python 2 will not be supported after January 1st 2020.
You can check the details in python.org
Release schedule : Downloads – All schedules
https://www.python.org/dev/peps/pep-0373/
Now most of the packages are supported by python 3
The major difference
Strings are unicode by defaut , so we need to give ascii encoding infront of string
and need to define b , means bytes infront of string
Then explains about PEP 0 — Index of Python Enhancement Proposals
telnetlib comparison with Python 3 and Python 2 to understand syntax difference
PEP8 explained for guideline of recommended way of coding ,
indendation recommendation while writing the code
Compare 2 and 3 – Doc-3 – Whats new
Explained :Future of Python 2.7
Explained: Whats new in P3 for understanding difference
https://docs.python.org/3/whatsnew/3.0.html
For Python Default Libraris, please visit
https://docs.python.org/3/library/index.html
Python also has libraries and dependencies
In the next video we will discuss about python package index pip
how to install pip
Views : 12677
network engineer