Over the last three months I’ve been transitioning back over to network engineering. When I first started working in IT, my role was as a network technician, but slowly I took on more and more systems administration and engineering, and the work I was doing was mostly with PowerShell.
As a result, my Python skills have atrophied over the years since I was so focused on PowerShell, and if there’s one thing I’ve learned while being put in charge of managing thousands of switches, it’s that I need some scripting in place to handle mass changes.
The perfect class to get myself back in the Python game was from reddit, offered by Kirk Byers called “Python for Network Engineers“. It’s a introductory course on some Python basics, which for offered enough to get me going again.
I’m putting this list of the videos online for myself since I hate referencing my emails all the time, but if someone else finds it useful, awesome.
Lesson 1: Why Python, the Shell, and Strings
Lesson 2: Numbers, Files, Lists, and Linters
Lesson 3: Conditionals and Loops
Lesson 4: Dictionaries, Exceptions, and Regular Expressions
Lesson 5: Functions and the Python Debugger
Lesson 6: Netmiko
Lesson 7: Jinja2, YAML and JSON
Lesson 8: Libraries, PIP, and Virtual Environments
Lesson 1: Why Python, the Shell, and Strings
- Introduction
Video https://vimeo.com/243034300
Length is 7 minutes - Why Learn Programing?
Video https://vimeo.com/243905715
Length is 1 minute - Why Python?
Video https://vimeo.com/243909371
Length is 3 minutes - Python2 versus Python3
Video https://vimeo.com/243912631
Length is 2 minutes - Characteristics of Python
Video https://vimeo.com/243918300
Length is 5 minutes - The Python Interpreter Shell
Video https://vimeo.com/242411259
Length is 9 minutes - IPython
Video https://vimeo.com/242460561
Length is 4 minutes - Printing to stdout and Reading from stdin
Video https://vimeo.com/243028886
Length is 6 minutes - Dir, Help, and Variables
Video https://vimeo.com/243480156
Length is 10 minutes - Python Strings (Part 1)
Video https://vimeo.com/243481392
Length is 6 minutes - Python Strings (Part 2)
Video https://vimeo.com/243482081
Length is 8 minutes - Python Strings (Part 3)
Video https://vimeo.com/243482871
Length is 10 minutes - Python String Formatting (Part 1)
Video https://vimeo.com/243936489
Length is 12 minutes - Python String Formatting (Part 2)
Video https://vimeo.com/243956669
Length is 4 minutes
Lesson 2: Numbers, Files, Lists, and Linters
- Numbers
Video https://vimeo.com/244128549
Length is 9 minutes - Files
Video https://vimeo.com/244127459
Length is 10 minutes - Lists
Video https://vimeo.com/244257596
Length is 6 minutes - List Slices
Video https://vimeo.com/244259492
Length is 4 minutes - Lists are Mutable
Video https://vimeo.com/244287000
Length is 5 minutes - Tuples
Video https://vimeo.com/244153105
Length is 3 minutes - Using .join()
Video https://vimeo.com/245464488
Length is 3 minutes - sys.argv
Video https://vimeo.com/245464766
Length is 2 minutes - Linters
Video https://vimeo.com/245102246
Length is 6 minutes
Lesson 3: Conditionals and Loops
- Conditionals
Video https://vimeo.com/245104620
Length is 8 minutes - Boolean Logic (Booleans, Ternary Operator, None)
Video https://vimeo.com/245112558
Length is 8 minutes - Python For Loops
Video https://vimeo.com/245466297
Length is 5 minutes - For Loops (Enumerate)
Video https://vimeo.com/245477015
Length is 6 minutes - For Loops (Break and Continue)
Video https://vimeo.com/245478016
Length is 9 minutes - While Loops
Video https://vimeo.com/245545155
Length is 5 minutes - Loops Miscellaneous
Video https://vimeo.com/245552604
Length is 6 minutes
Lesson 4: Dictionaries, Exceptions, and Regular Expressions
- Dictionaries
Video https://vimeo.com/246157566
Length is 6 minutes - Dictionaries Methods
Video https://vimeo.com/246163031
Length is 7 minutes - Sets
Video https://vimeo.com/246167477
Length is 9 minutes - Exceptions
Video https://vimeo.com/246174686
Length is 15 minutes - Regular Expressions (Part1)
Video https://vimeo.com/246184715
Length is 15 minutes - Regular Expressions (Part2)
Video https://vimeo.com/246532117
Length is 7 minutes - Regular Expressions (Part3)
Video https://vimeo.com/246534450
Length is 8 minutes - Regular Expressions, Other Methods
Video https://vimeo.com/246535038
Length is 4 minutes
Lesson 5: Functions and the Python Debugger
- Functions (Part1)
Video link https://vimeo.com/247570174
Length is 8 minute - Functions (Part2)
Video link https://vimeo.com/247581011
Length is 11 minutes - Misc Topics (Part1)
Video link https://vimeo.com/247582360
Length is 10 minutes - Misc Topics (Part2)
Video link https://vimeo.com/247655574
Length is 8 minutes - Python Debugger (pdb)
Video link https://vimeo.com/247724017
Length is 10 minutes
Lesson 6: Netmiko
- Netmiko Introduction and Basics
Video link https://vimeo.com/254569911
Length is 8 minutes - Netmiko Show Commands
Video link https://vimeo.com/254578980
Length is 13 minutes - Netmiko and Prompting
Video link https://vimeo.com/254587832
Length is 12 minutes - Netmiko and TextFSM
Video link https://vimeo.com/254611876
Length is 10 minutes - Netmiko Config Changes
Video link https://vimeo.com/254614073
Length is 8 minutes - Netmiko Troubleshooting
Video link https://vimeo.com/254786724
Length is 9 minutes
Lesson 7: Jinja2, YAML and JSON
- Jinja2 Basics
Video link https://vimeo.com/257997257
Length is 7 minutes - Jinja2 For-Loops and Conditionals
Video link https://vimeo.com/257999160
Length is 9 minute - Jinja2 and CSV
Video link https://vimeo.com/258142987
Length is 5 minutes - Jinja2 Dictionaries and Nested Loops
Video link https://vimeo.com/258145504
Length is 11 minutes - YAML Basics
Video link https://vimeo.com/258161182
Length is 9 minutes - YAML Part2
Video link https://vimeo.com/258169427
Length is 10 minutes - Using Python to Write YAML
Video link https://vimeo.com/258171559
Length is 3 minutes - JSON
Video link https://vimeo.com/258178243
Length is 5 minutes - Managing Data Structures
Video link https://vimeo.com/258181273
Length is 5 minutes
Lesson 8: Libraries, PIP, and Virtual Environments
- Importing Libraries
Video link https://vimeo.com/259422351
Length is 5 minutes - sys.path and PYTHONPATH
Video link https://vimeo.com/259423316
Length is 7 minutes - pip
Video link https://vimeo.com/259424573
Length is 7 minutes - Virtual Environments
Video link https://vimeo.com/259426537
Length is 6 minutes - Creating a Simple Python Module
Video link https://vimeo.com/259427586
Length is 4 minutes