KhalsaLabs

Python Regular Expression Easy Tutorial – II

In Lesson 2 of Python Regular Expression Easy Tutorial, we’ll learn how to find text of specific pattern. For example the text patterns like – he99, tintin@email.com , PQ675a, etc In this Python Regular Expression Easy Tutorial we will step it up to another level. To find these type

What is csrf exempt in django – @csrf_exempt ?

Csrf exempt is a cool feature of django which allows bypassing of csrf verification by django.   By default, django check for csrf token with each POST request, it verifies csrf token before rendering the view. Its a very good security practice to verify csrf of post requests as we know

Disable CSRF verification for Django REST API

Ensure seamless Django REST API interactions by disabling CSRF verification. Explore steps for effortless CSRF management If you are also sucked by CSRF Failed message in django rest, then there is a professional way to disable the CSRF verification while using Django REST APIs. However if you want to know

How to Shred Files With Python Code

You can safely delete data with Python code for shredding files. Here is a small script for how to Shred Files with Python in it with only a few lines. You can customize the functionality of shredder code by adding the number of passes to the shredder function. This is

How to Scan Ports Using Google - Port Scanner

Welcome to Google Powered World, it is amazing to Know that you can also scan open ports by googling. Here is How to Scan Ports Using Google Port Scanner Port scanning using Google take advantage of the depth of Google bots as they are used for Performing the Port Scan.

KhalsaLabs © 2026