Networking
No, this is not about growing your LinkedIn connections, although that’s something I’d recommend doing too. Computer networks are essential to the functioning of every application these days because they are the only way to deliver constant value to the user while keeping them connected to your environment. Almost every device these days is connected to a network, which is why understanding the network of devices and the network of networks (it’s something called the internet, ever heard of it?) is very important.
I am now going to demonstrate two examples of how to use Python for networking insights and data collection.
Exercise 1 – using Scapy to sniff packets and visualize packet size over time
Scapy is a Python library that can be used to replicate, simulate, and manipulate the data packets that are sent over a computer network. Scapy is a very useful tool in the belt of any developer or DevOps professional.
In this exercise, we...