Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 1.77 KB

File metadata and controls

30 lines (20 loc) · 1.77 KB

Python Part 1: Python Language and Script Basics

"Gitting" the Code

All of the code and examples for this lesson is located in the netprog_basics/programming_fundamentals/python_part_1 directory. Clone and access it with the following commands:

git clone https://github.com/CiscoDevNet/netprog_basics
cd netprog_basics/programming_fundamentals/python_part_1

Local Workstation Setup

Be sure to complete the General Workstation Setup instructions before beginning this lesson.

Python Environment Setup

It is recommended that this lesson be completed using Python 3.8. Other versions of Python 3 should also work.

Note about Python 2: Python 2 was sunset by Python Software Foundation on January 1, 2020. This means that no more updates to Python 2 are being worked on, including security updates. Python 3 is now the recommended version of Python for everyone to use. Most Python developers of software, packages, and scripts have migrated to Python 3 already, however you may find some older scripts and tools that are no longer maintained that only work with Python 2.

You may see/hear references to Python 2 within the videos in this course from before January 2020, however all examples scripts and demos available in the GitHub repo to run have been updated to leverage Python 3.

Note: During this lesson you will explore the basics of Python.

DevNet Sandbox

No Sandbox is required for this lesson.

Download Slides

You can download the slides for this lesson here.

Suggestion: Right click, "Open in new tab"