Skip to content
LinuxOak
  • Home
  • Network
  • Linux
  • Python
  • AI Ops
  • Security
  • About
  • Toggle website search
Menu Close
  • Home
  • Network
  • Linux
  • Python
  • AI Ops
  • Security
  • About
  • Toggle website search
  • Home
  • Network
  • Linux
  • Python
  • AI Ops
  • Security
  • About

Yearly Archives: 2026

  1. Home>
  2. 2026
Network / Python

Files, Exceptions, and Logging — Robust Scripts That Don’t Lie to You

Day 7 closes Week 1 of the Python for Network Engineers series. Read and write files cleanly with `with`, catch only the exceptions you mean, and use the standard logging module so your scripts leave a real paper trail.

0 Comments
May 10, 2026
Network / Python

Functions and Modules — Building Reusable Network Helpers

Day 6 of the Python for Network Engineers series. Define functions, use *args/**kwargs the way Netmiko expects, write your first reusable module, and learn the __name__ == '__main__' guard.

0 Comments
May 9, 2026
Network / Python

Control Flow: Looping Through Interfaces and Devices

Day 5 of the Python for Network Engineers series. if/elif/else, for, while, break, continue, plus enumerate/zip/range — wired against a real device inventory.

0 Comments
May 8, 2026
Network / Python

Lists, Tuples, Dicts, Sets — Modeling Devices and Inventories

Day 4 of the Python for Network Engineers series. The four built-in containers — list, tuple, dict, set — and which one to reach for when modeling devices, inventories, VLAN lists, and config drift.

0 Comments
May 7, 2026
Network / Python

Strings, f-strings & Slicing: Parsing IPs, MACs, and Banner Output

Day 3 of the Python for Network Engineers series. Indexing, slicing, split/strip/replace/join, and f-string formatting — the small set of built-in string operations that handles most CLI-output parsing.

0 Comments
May 6, 2026
Network / Python

Python Syntax Crash Course for People Who Already Know IOS

Day 2 of the Python for Network Engineers series. Variables, types, indentation, the colon, truthiness, and the handful of syntactic rules that account for 90 percent of beginner mistakes.

0 Comments
May 5, 2026
Network / Python

Why Python for Network Engineers — and How to Set Up Your Lab

Day 1 of a 21-post daily series. Why Python beats Bash and Tcl for network work, how to install it cleanly with a virtualenv, choose an editor, and pick a lab you can break.

0 Comments
May 4, 2026
  • Files, Exceptions, and Logging — Robust Scripts That Don’t Lie to You
    In Network, Python
    May 10, 2026
  • Functions and Modules — Building Reusable Network Helpers
    In Network, Python
    May 9, 2026
  • Control Flow: Looping Through Interfaces and Devices
    In Network, Python
    May 8, 2026
  • Lists, Tuples, Dicts, Sets — Modeling Devices and Inventories
    In Network, Python
    May 7, 2026
  • Strings, f-strings & Slicing: Parsing IPs, MACs, and Banner Output
    In Network, Python
    May 6, 2026
LinuxOak © 2024