Python Theory for Network Engineers
2h 18mIntermediate2022-10-18
Authors

Eric Chou
Eric Chou is an author, engineer, and coach with 15+ years of experience as a networking professional.
Course details
Network engineering is going through a fundamental change toward automation and a focus on DevOps. In this course, instructor Eric Chou uses Python to introduce programmability for network engineers looking to get into this field. Eric gives you practical, hands-on examples that introduce Python theories and concepts. He introduces some basics, then dives into the types and uses of Python objects. Eric shows you how to use conditionals and loops, as well as functions. Plus, he covers Python classes, modules, and packages. Get started with your Python learning journey!
Skills covered
PythonNetwork AdministrationProgramming LanguagesNetwork and System AdministrationOpen SourceSoftware DevelopmentOne-Off
Concepts
0. Introduction
- 01 - Python theory for network engineers
1. Python Basics
- 02 - History and use cases
- 03 - Python installation and script execution
- 04 - Network lab CML 2.1
- 05 - Zen of Python
2. Python Objects
- 06 - Python data types
- 07 - Strings and string methods
- 08 - Python numbers and math
- 09 - Python collections - Tuples, lists, and dictionaries
- 10 - Python superpower - Imports
- 11 - Challenge - Getting information from network gears
- 12 - Solution - Getting Information from network gears
3. Conditionals and Loops
- 13 - Conditional logic - If then and compare values
- 14 - Lab - Demonstrating if then and value comparison
- 15 - Conditional logic - For and while loops
- 16 - Lab - Demonstrate for and while loops
- 17 - Challenge - Making your script do repeatable tasks
- 18 - Solution - Making your script do repeatable tasks
4. Python Functions
- 19 - File inputs and outputs
- 20 - Lab - Working with files, file paths, and file operations
- 21 - Python functions
- 22 - Lab - Writing Python functions
- 23 - Challenge - Functionalize network tasks
- 24 - Solution - Functionalize network tasks
5. Python Classes
- 25 - Python classes
- 26 - Lab - Python classes for network device
- 27 - Python modules
- 28 - Lab - Python modules for grouping
- 29 - Python packages
- 30 - Lab - Python packages
- 31 - Data center as code
Conclusion
- 32 - Next steps in your Python journey