This post will describe the exercises and solutions for week three of Kirk Byers Python for Network Engineers. Exercise two of week three we already completed in a previous post where we used a For loop to loop through the
Python – Kirk Byers Course Week 3 Part 1
This post will describe the exercises and solutions for week three of Kirk Byers Python for Network Engineers. The first exercise of the week is the following: I. Create an IP address converter (dotted decimal to binary). This will be
Python – Kirk Byers Course Week 2 Part 4
This post will describe the exercises and solutions for week two of Kirk Byers Python for Network Engineers. The final assignment in week 2 is the following: IV. You have the following string from “show version” on a Cisco router
Python – Kirk Byers Course Week 2 Part 3
This post will describe the exercises and solutions for week two of Kirk Byers Python for Network Engineers. The next excercise is to work with output from “show ip bgp”: III. You have the following four lines from ‘show ip
Python – Kirk Byers Course Week 2 Part 2
This post will describe the exercises and solutions for week two of Kirk Byers Python for Network Engineers. The second exercise of week two is the following: II. Create an IP address converter (dotted decimal to binary): A. Prompt a
Python – Kirk Byers Course Week 2 Part 1
This post will describe the exercises and solutions for week two of Kirk Byers Python for Network Engineers. This is the first exercise: I. Create a script that does the following A. Prompts the user to input an IP network.
Python – Kirk Byers Course Week 1 Part 2
In the second part of assignments for the first week of Kirk Byers Python for Network Engineers class we will be working with IPv6 addresses. We start with the following IPv6 address: FE80:0000:0000:0000:0101:A3EF:EE1E:1719. The goal is then to split this
Python – Learning Python with Kirk Byers Python for Network Engineers
As you have seen lately on the blog I’ve been fiddling around in Python. One of the best resources out there to learn Python for Network Engineers is the free e-mail course by Kirk Byers. Kirk is a CCIE emeritus
Python – Argparse Part II
In my previous post on Argparse I had some issues with validating values and printing help output for values that are out of range. I got some great suggestions from my smart colleagues Mikkel Troest and Patrick Ogenstad who are
Python – For Loops
I’m learning the basics of Python and these are my publically available notes for my reference. Hopefully they are useful for my readers as well. The For loop in Python is used to iterate through different objects such as lists