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 – Kirk Byers Course Week 1 Part 1
This post is the first one going through the Kirk Byers Python for Network Engineers class. In the first class Kirk shows how to pipe data into Python by using the module fileinput with the following code(modified for Python3): import
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
Python – Introduction to Argparse
I’m fiddling around a bit with Python. I’m planning to write a little script that pings a host or hosts and logs it to a file. Should be pretty basic but it’s good practice for me to take user input,
General – Happy New Year!
Happy new year to all the readers of the blog! I’ve been lacking the time to update the blog lately which I’m sorry for. Work is keeping me busy with some interesting projects. I hope to get a bit more
General – Network Engineering vs Coding
Introduction There has been a lot of talking about the future of the network engineer for the last couple of years. Many articles have declared that we MUST learn to program or we will be banished from the world by