Introduction
Python theory for network engineers
()
1. Python Basics
History and use cases
()
Python installation and script execution
()
Network lab CML 2.1
()
Zen of Python
()
2. Python Objects
Python data types
()
Strings and string methods
()
Python numbers and math
()
Python collections: Tuples, lists, and dictionaries
()
Python superpower: Imports
()
Challenge: Getting information from network gears
()
Solution: Getting Information from network gears
()
3. Conditionals and Loops
Conditional logic: If/then and compare values
()
Lab: Demonstrating if/then and value comparison
()
Conditional logic: For and while loops
()
Lab: Demonstrate for and while loops
()
Challenge: Making your script do repeatable tasks
()
Solution: Making your script do repeatable tasks
()
4. Python Functions
File inputs and outputs
()
Lab: Working with files, file paths, and file operations
()
Python functions
()
Lab: Writing Python functions
()
Challenge: Functionalize network tasks
()
Solution: Functionalize network tasks
()
5. Python Classes
Python classes
()
Lab: Python classes for network device
()
Python modules
()
Lab: Python modules for grouping
()
Python packages
()
Lab: Python packages
()
Data center as code
()
Conclusion
Next steps in your Python journey
()
Ex_Files_Python_Theory_for_Network_Engineers.zip
(54 KB)