PYTHON


How do you remove duplicates from a Python list while preserving order?

How do you remove duplicates from a Python list while preserving order?

There are many different techniques and methods present in Python, to remove duplicate items from t…

How to Detect Shapes in Python Using OpenCV?

How to Detect Shapes in Python Using OpenCV?

Detecting shapes from an image is one of the coolest things you can perform with Python and OpenCV.…

Difference between Python classmethod and staticmethod

Difference between Python classmethod and staticmethod

In Python class, we can define three types of functions/methods- regular method(self), classmethod(…

How to find the IP address of a system/website using Python

How to find the IP address of a system/website using Python

An IP address represents the physical address of our system or network. And when we connect to the …

Difference Between Python List append() and extend() Methods

Difference Between Python List append() and extend() Methods

In Python, we have the List data structure that is used to store multiple values in a single variab…

How to Get Open Port Banner in Python?

How to Get Open Port Banner in Python?

If you do not know how to check the open and close port of a target in Python, then please check ou…

Difference Between Del, Remove, Clear and Pop on Python Lists

Difference Between Del, Remove, Clear and Pop on Python Lists

This tutorial will walk you through the difference between del, remove, clear, and pop on Python li…

How to Find all files in a Directory with specific extension in Python

How to Find all files in a Directory with specific extension in Python

Python comes with a standard module called os that is used to handle file management using Python. …

How to Make a Subdomain Scanner in Python?

How to Make a Subdomain Scanner in Python?

This tutorial details how to make a subdomain scanner in Python. Popular tech giants such as Google…

How to print colored Python output on the terminal?

How to print colored Python output on the terminal?

At the beginning stage, we generally built console-based Python projects where we simply printed th…

How to Build a Port Vulnerability Scanner in Python

How to Build a Port Vulnerability Scanner in Python

Mostly all the open ports use a banner or service software on which they run. If you do not know ho…

Python Single and Double Underscore

Python Single and Double Underscore

In other programming languages, we use the underscore for the snake_casing variable names, but in P…