Python Fundamentals

This lecture series contains videos, study materials and quizzes related to the following topics. Python character set Tokens and its types The basic process to follow the lecture series is. 1- First watch video 2- Read the topic 3- Finally, take the quiz 4- If any problem or error in lecture series comment Things to … Read more Python Fundamentals

File Handling in Python

File Handling in Python

File Handling in Python What happens when you run a program and input some data to be processed. You get result and if you again run your program your previous data are lost. Since Random Access Memory (RAM) is volatile and it frees the memory when the program stops. To solve this problem you can … Read more File Handling in Python

Lambda Function in Python

In Python, lambda keyword is used to create anonymous function in Python. User defined functions in Python are defined using def keyword. However, anonymous functions in Python are defined using lambda keyword. The syntax of anonymous function is afun=lambda parameters : expression Lambda function expression must be in a single line expression. Examples are- Sum … Read more Lambda Function in Python

Linear Programming Problem Solution in Python

Linear Programming Problem

Linear Programming Problem The problem of formulating an objective function and constraints an establishing relationship between variables is called a programming problem (LPP). If objective function and constraints are linear then the problem is called linear programming problem. Example- Sometimes, you come across the situation when you need to optimize your algorithm. If you can … Read more Linear Programming Problem Solution in Python

Nested Lists in Python

Nested Lists in Python

Nested Lists in Python List in Python is a powerful data structure and it allows arbitrary numbers of nested lists in Python.  However, problems you will face to access them using loops. In this post, I have explained how to access nested list of elements. Suppose you have a nested list a=[3,5,8,4,15,34,[5,8,[-4,-8],9,3], 8,9,[6,9],12,7]. To understand … Read more Nested Lists in Python

Inheritance in Object Oriented Programming using Python

Inheritance in Object Oriented Programming using Python

Inheritance in Object Oriented Programming Inheritance is the process of acquiring properties from a father class into a child class. Suppose there are two classes A and B, then if B acquires properties of A i.e variables and methods then B inherits A and this process is called inheritance.   Inheritance in Python Here a … Read more Inheritance in Object Oriented Programming using Python

Computer Vision in Python using OpenCV | Read an Image using OpenCV

OpenCV in Python

Computer Vision- Computer Vision refers to enable computers to understand digital images and videos. Mathematical and signal processing knowledge can help a lot to understand computer vision study field. The computer vision study field requires acquiring information from digital videos and analyzing them using using machine learning, deep learning and other techniques. Moreover, Computer Vision … Read more Computer Vision in Python using OpenCV | Read an Image using OpenCV

Selection Sort in Python

Selection Sort Selection sort uses statistical technique which finds minimum/maximum from a list and puts it at appropriate position. If you consider ascending order the smallest element will be placed at the first position, the second smallest element will be placed at the second position and the third smallest element will be placed at the … Read more Selection Sort in Python

Binary Search in Python

Binary Search in Python

Binary Search Basic idea behind binary search is to divide sorted array in two parts, and check whether the element which divides the array is desired element . And if the desired element is found then stop the search, otherwise further divide the array until the desired element is not found. Step-Wise Pictorial Demonstration of … Read more Binary Search in Python