Python - Easy Articles
The numpy.repeat() function repeats elements of the array – arr. Syntax :  numpy.repeat(arr, repetitions, axis = None) Parameters :  array : [array_like]Input array. repetitions :… Read More
The numpy.ravel() functions returns contiguous flattened array(1D array with all the input-array elements and with the same type as it). A copy is made only… Read More
Python scripting is one of the most intriguing and fascinating things to do meanwhile learning Python. Automation and controlling the browser is one of them.… Read More
Write Python code for converting a decimal number to it’s binary equivalent and vice-versa. Example:  From decimal to binary Input : 8 Output : 1… Read More
There are several APIs available to convert text to speech in python. One of such APIs available in the python library commonly known as win32com… Read More
Logging is a means of tracking events that happen when some software runs. Logging is important for software developing, debugging, and running. If you don’t… Read More
The numpy.all() function tests whether all array elements along the mentioned axis evaluate to True. Syntax: numpy.all(array, axis = None, out = None, keepdims =… Read More
The numpy.argmax() function returns indices of the max element of the array in a particular axis.  Syntax :  numpy.argmax(array, axis = None, out = None)… Read More
Every ndarray has an associated data type (dtype) object. This data type object (dtype) informs us about the layout of the array. This means it… Read More
Before executing code, Python interpreter reads source file and define few special variables/global variables. If the python interpreter is running that module (the source file) as… Read More
In this article, we are going to see Underscore (_) in Python. Following are different places where “_” is used in Python: Single Underscore: Single… Read More
After going through the basics of python, you would be interested to know more about further and bit more advance topics of the Python3 programming… Read More
In this article, we will cover how to sort a dictionary by value in Python. To sort a list of dictionaries by the value of… Read More
In this article, we will cover how to sort a dictionary by value in Python.  Sorting has always been a useful utility in day-to-day programming.… Read More
1) What is the output of the following program?   PYTHON3 str1 = '{2}, {1} and {0}'.format('a', 'b', 'c') str2 = '{0}{1}{0}'.format('abra', 'cad') print(str1, str2) a)… Read More
What are ordered words? An ordered word is a word in which the letters appear in alphabetic order. For example abbey & dirt. The rest… Read More
The numpy.reshape() function shapes an array without changing the data of the array. Syntax: numpy.reshape(array, shape, order = 'C') Parameters :  array : [array_like]Input array… Read More
This article discusses the concept of thread synchronization in case of multithreading in Python programming language. Synchronization between threads Thread synchronization is defined as a… Read More
The arange([start,] stop[, step,][, dtype]) : Returns an array with evenly spaced elements as per the interval. The interval mentioned is half-opened i.e. [Start, Stop) … Read More
Indexing a NumPy array means accessing the elements of the NumPy array at the given index. There are two types of indexing in NumPy: basic… Read More