Posts

Showing posts with the label Modules

Python Tutorial 27 --- "Time Module In Python"

Python Tutorial 27 ---  Time Module in Python Doc: The  execution time of a program  is defined as the system's time to execute the task. As we know, all program takes some  execution time , but we don't know how much. So, don't worry. In this tutorial, we will learn it by using a very helpful module known as the "Time module."                 As can be defined by the name,  "time module handles time-related tasks." It can be accessed by simply using an import statement. import time Copy   In Python, time can be tracked through its built-in libraries. The time module consists of all time-related functions. It also allows us to access several types of clocks required for various purposes. We will be discussing some of these important functions that are commonly used and come handy for further programming. time.time():                It returns us the seconds of time that ha...

Python Tutorial 1--- Introduction, Installation, Modules & Pip, Writing our first Program

Image
Python Introduction ***FOR BETTER VIEWING EXPERIENCE USE DESKTOP VIEW MODE*** ############################################################################## # Python Programming language was developed by Guido Van Rossum in February 1991. # It is an interpreted, high-level, general-purpose programming language. # Programming helps human to reduce manual efforts and # work which take hours to complete can be accomplished by computer in Seconds . # To write any language’s code we need a platform where # we can write the code and can execute it. # For this we use IDE’s. # IDE – IDE (Integrated Development Environment) # is a software application which provides many comprehensive facilities # to programmers for software or application development. # You can use Pycharm and Visual Studio Code as IDE ############################################################################# ####### Installation ###### ###### First of all download Python : # Go to this link - https://www.python.org/downl...