03-24-2020 01:58 AM
Hi,
simple question : for the forseeable future the software frameworks associated with Cisco products and services will run on Python 2 or there are plans to introduce Python 3 ?
A person studying for a certification in the 2020 should go for Python 2 or Python 3 ?
Solved! Go to Solution.
03-24-2020 02:41 AM - edited 03-24-2020 02:42 AM
Hi,
Despite the fact that you still have Python2.7 in most of the Cisco software products, example from NX-OS 9.2:
N9K# python Python 2.7.11 (default, Feb 26 2018, 03:34:16) [GCC 4.6.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>>
I would strongly advise to learn python3. There is no reason to learn Python2, keeping in mind that it is officially no longer maintained: https://www.python.org/doc/sunset-python-2/
As of January 1st, 2020 no new bug reports, fixes, or changes will be made to Python 2, and Python 2 is no longer supported
This means that if any security issue is found in Python2, the security bug will not be fixed.
Cheers,
Sergiu
03-24-2020 02:41 AM - edited 03-24-2020 02:42 AM
Hi,
Despite the fact that you still have Python2.7 in most of the Cisco software products, example from NX-OS 9.2:
N9K# python Python 2.7.11 (default, Feb 26 2018, 03:34:16) [GCC 4.6.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>>
I would strongly advise to learn python3. There is no reason to learn Python2, keeping in mind that it is officially no longer maintained: https://www.python.org/doc/sunset-python-2/
As of January 1st, 2020 no new bug reports, fixes, or changes will be made to Python 2, and Python 2 is no longer supported
This means that if any security issue is found in Python2, the security bug will not be fixed.
Cheers,
Sergiu
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide