Upper case | How To Change A String Into Upper case?

Here in this tutorial, we will learn more about How to change a string into Upper case which could be done using different ways like using the inbuild function and by adding the number 26 to the ASCII values of lowercase letters as the ASCII(American Standard Code for Information Interchange) values of the upper case … Read more

Package VS Module | What Is The Difference Between Python Module And Python Package?

In this Tutorial, we will discuss the Difference Between a Python Module And a Python Package where python module can be a simple python file that we can directly use as per our choice where as the package is a collection of all the similar python modules or files which can be directly used for … Read more

How Do I Call A Parent Class’s Method From A Child Class In Python?

To learn more about How to call a parent class’s method from a child class in Python we do use a keyword that is super for getting the methods of the parent class in python. Parent Class In Objective oriented programming languages we have inheritance where we can directly inherit the properties of the parent … Read more

How do I Do A Case-Insensitive String Comparison?

In this tutorial, we will learn How to do a Case-Insensitive String Comparison, which we can perform by simply converting both the strings that we want to compare in either in lower case or uppercase so that every character in the string has the same ASCII  values and in programming, we compare the character using … Read more

How Do You Round Up A Number?

In this tutorial, we will learn How to round Up A Number we can use the built in function round and truncate which provides the privilege to take a decision on a number of decimal digits or the number of digits that we want to round up. Round Up Round up is a way to … Read more

Sleep | How Do I Get My Program To Sleep For 3 seconds?

In this tutorial, we will learn How to get my program to sleep for 50 milliseconds as the sleep function is used for pausing the current execution of a program as many times we need to give a pause to the execution to avoid deadlock at times. As this sleep built in function is defined … Read more

Username | Is There a portable Way To Get The Current Username in Python?

In this tutorial we will find out Is there a portable way to get the current username in Python there are three ways to do so which are using the OS library, using the Getpass library, and Using os and pwd modules. And here we will discuss all of them one by one. Username As … Read more

What If Tensor Flow Not Found Using Pip?

In this tutorial, we will come to know What If Tensor Flow is Not Found Using Pip. This might be due to a number of reasons that we will discuss all here. Tensor Flow As we use pip to install new libraries and Tensr Flow is also a software library, And here we will discuss … Read more

Time | How Do I Convert Seconds To Hours, Minutes And Seconds in Python?

Here we will learn about time and How to convert seconds to hours, minutes, and seconds which we can do using three different ways like simple calculations, using built in function divmod(), and using the datetime Module. Calculating Time in Different Ways There are different ways to get convert the seconds into different parameters of … Read more

How Getting file Size in Python?

Here we will learn How Getting file Size in Python where we can use the stat() function of the os module which could get us all the details of the file that we passed as an argument to it, And it will return all the possible information related to that file including the size in … Read more

%d bloggers like this: