vinaykhatri

Vinay Khatri

I am a Full Stack Developer with a Bachelor's Degree in Computer Science, who also loves to write technical articles that can help fellow developers.

Python Regex Replace Pattern in a string using re.sub()

Python Regex Replace Pattern in a string using re.sub()

In this Python article, you will learn how to perform the search and replace operations on a Python…

Python Regex Split String Using re.split()

Python Regex Split String Using re.split()

The Python regular expression module re supports the spilt() method that can split a string in…

What is Timestamp in Python and How to work with it?

What is Timestamp in Python and How to work with it?

In general, the term timestamp defines a point of registered time when a specific event has occurre…

Python Compile Regex Pattern using re.compile()

Python Compile Regex Pattern using re.compile()

With the help of the Python re.compile() method, we can compile a string pattern to a regex pattern…

Python Instance Variables with Examples

Python Instance Variables with Examples

When we deal with Python classes and objects, there we have different types of variables. 1. Ins…

Python Instance Methods with Examples

Python Instance Methods with Examples

In a Python class, we can define a method in three different ways 1. Instance Method Instanc…

Python Class Variables

Python Class Variables

In Python class, we can define two types of variables 1. Instance Variables The instance vari…

Python Class Method with Examples

Python Class Method with Examples

In a Python Class, we can define 3 types of methods. 1. Instance Method These methods' fi…

Linked List in Python

Linked List in Python

A linked list is one of the basic data structures present in computer science. To represent a linke…

Python vs C: Differences You Should Know

Python vs C: Differences You Should Know

A plethora of programming languages is available out there. Therefore, one of the most common quest…

Python random.seed() function to initialize the pseudo-random number generator

Python random.seed() function to initialize the pseudo-random number generator

In this Python tutorial, you will learn how to use random.seed() function to initialize a pseudo-ra…

CSS Margin vs Padding: What's the Difference?

CSS Margin vs Padding: What's the Difference?

In CSS, there are two most commonly used spacing properties, margin, and padding. Often, many CSS f…