Python Programming Examples

How to Extract Text Before a Colon (:) Using Regex in Python?

Regular expressions (Regex) in Python are used to identify patterns in text or strings. Python’s regular expression module is named ‘re’, housing various functions for identifying and manipulating patterns in strings. The re module has functions that match patterns, search for specific elements in a string, find sub-patterns, and split strings. Using regex can be

How to Extract Text Before a Colon (:) Using Regex in Python? Read More »

Fibonacci Generator Using Python

The Fibonacci sequence is a mathematical formula that arranges elements in an interesting arrangement, as each element in the sequence is the sum of the previous two elements. This numerical phenomenon is utilized in various computer languages such as C, C++, JAVA, and Python, but regardless of the language, the logic behind its implementation is

Fibonacci Generator Using Python Read More »

Deep Learning Using PyTorch In 7 Steps

Deep learning models developed by PyTorch are used to predict the results of some complex problems like speech/ image recognition systems, Classification, and regression problems. The PyTorch library is used to develop these models in Python language. Now, let’s go through the concept of deep learning using PyTorch. Different Machine learning and Deep learning models

Deep Learning Using PyTorch In 7 Steps Read More »

Implementation of AES With Padding

AES stands for Advanced Encryption Standard and is a popularly used symmetric encryption algorithm, that was established by the U.S. National Institute of Standards and Technology (NIST) in 2001. A symmetric key encryption algorithm uses only one key for both encryption and decryption tasks. AES is introduced as a successor to the then popular but

Implementation of AES With Padding Read More »