Latest Posts

NumPy sqrt() – Square Root of Matrix Elements

Python NumPy module is used to work with multidimensional arrays and matrix manipulations. We can use NumPy sqrt() function to get the square root of the matrix elements. Python NumPy sqrt() Example import numpy array_2d….

Python Pathlib Module Featured Image

Python pathlib Module – 14 Practical Examples

Python pathlib module provides an object-oriented approach to work with files and directories. The pathlib module has classes to work with Unix as well as Windows environments. The best part is that we don’t have….

How to Read from stdin in Python

There are three ways to read data from stdin in Python. sys.stdin input() built-in function fileinput.input() function 1. Using sys.stdin to read from standard input Python sys module stdin is used by the interpreter for….

Improve Your Business By Using Efficient Web Tools

Everybody is thinking to very difficult solutions to improve their online businesses and projects, but it’s much simpler thank you think to achieve that. You are looking to minimize your work load, to save time,….

How to Get File Extension in Python

We can use Python os module splitext() function to get the file extension. This function splits the file path into a tuple having two values – root and extension. Getting File Extension in Python Here….

How to Get File Size in Python

We can get file size in Python using the os module. File Size in Python The python os module has stat() function where we can pass the file name as argument. This function returns a….

How to Read Large Text Files in Python

Python File object provides various ways to read a text file. The popular way is to use the readlines() method that returns a list of all the lines in the file. However, it’s not suitable….

Matrix Programs in Java

A Matrix is a rectangular array. The elements are arranged in the rows and columns. In this tutorial, we will look at some matrix programs in Java. Graphical Representation of Matrix Matrix in Java We….

Command Line Arguments in Java

Command-line arguments in Java are used to pass arguments to the main program. If you look at the Java main method syntax, it accepts String array as an argument. When we pass command-line arguments, they….

Android Material Text Fields

In this tutorial, we’ll implement Text Fields using the new Material Design Components Library. We have already implemented TextInputLayout here. Material TextFields TextInputLayout provides an implementation for Material text fields. We just need to use….

close
Generic selectors
Exact matches only
Search in title
Search in content
Search in posts
Search in pages