First of all we should know what is opencv? OpenCV (Open Source Computer Vision) is a library of programming functions mainly aimed at real-time computer vision. In simple language it is a library used for Image Processing. It is mainly used …
Conversion of a string to list in Python is a pretty easy job. We can convert string into list by using split(). e.g., We’ll see another example in which we convert string into a list of characters. e.g., Now we are going …
Python gives us freedom to take the input from the user. The input we take from the user is read as string by default. After giving input we have to press “Enter”. Then only the input() function reads the value …
Python packages make the language more unique and efficient. Apart from the inbuilt packages, there are too many external packages written and attached to Python. If you want to use these packages you simply have to install them. Pandas is …
Python packages make the language more unique and efficient. Apart from the inbuilt packages, there are too many external packages written and attached to Python. If you want to use these packages you simply have to install them. NumPy is …
When you are writing a program it is necessary that your program is easily readable and understood by others. An easy way to increase readability of the program is to use comments. There are mainly two ways to write comment …
Before studying further about this topic we should learn about List and String. What is List? The python lists are containers that are used to store a list of values of any type. Unlike other variables python lists are mutable …
The python tuples are sequences that are used to store a tuple of values of any type. Python tuples are immutable i.e. you cannot change the elements of a tuple in place; Python will create a fresh tuple when you …
There are a few techniques to reverse a list. We will study them here. Using reverse() The reverse() reverses the items of the list. This is done “in place”, i.e., it does not create a new list. The syntax to …
Python 2.x vs. Python 3.x Python 2.x is a legacy version which was last released in 2010(version 2.7.x) and discontinued after that, but the support for this version remained for the sake of backward compatibility. Python 3.x is considered the …