Python Archive

Multithreading and Multiprocessing in Python

To begin with, let us clear up some terminlogy: Concurrency is when two or more tasks can start, run, and complete in overlapping time periods. It doesn’t necessarily mean they’ll ever both be running at the same instant. Eg. multitasking on a single-core machine. Parallelism is when two or more tasks are executed simultaneously. A

Use of Lambda function in Python

This post is about Lambda which remain one of the most confusing topic for beginners. After reading couple of articles, here I’m sharing gist of them. Lambda is used to create function like def() but it returns the function instead of assigning name to it. This is the reason it is also called anonymous function.

How to Code a Port scanner in Python

 Overview In this post, we will going to learn how to code a easy to use port scanner in Python. In my view, python is one of the most powerful scripting language. There are many ways of doing this but we will going to learn it by using it’s built in module Socket. Sockets The

Scapy – Packet Manipulation Framework

Scapy is a well known packet manipulation framework developed in Python. It could be quite useful for people want to understand network at people level. Though it is used mostly by security engineers or penetration testers but i also suggest for Network Engineers apart from using Wireshark. Below are the few resources from where you can learn