Posts by Priya Bhowmick

Author Biographical Info: Not available

What are function annotations in Python

By Priya Bhowmick

Today we will discuss function annotations in Python. Function annotation links arbitrary metadata to the function arguments and its return value. PEP3107 has introduced the syntax.... Read More

Pad a string with leading zeros in Python

By Priya Bhowmick

Today we will discuss how can we pad a string with leading zeroes. Padding a string means adding some zeroes or any other character to the string to increase the length of the stri.... Read More

Python time sleep | Delay in execution of a program

By Priya Bhowmick

Today we will discuss the sleep() function present in Python. Sleep() function in Python is used to bring a delay in the execution of a program for a required time. The sleep funct.... Read More

How to handle an attribute error in Python

By Priya Bhowmick

An attribute in Python consists of the data variables and methods that are used to store the data and the functionalities respectively in an object. An attribute error occurs when .... Read More

How to check if an object has an attribute in Python

By Priya Bhowmick

Today in this tutorial we will focus to check if an object has an attribute or not in Python. We all know that Python is an object-oriented programming language and it consists of .... Read More