exetime 3.8

This module is for finding the execution time of a whole program

How to install

$ pip install exetime

General Information:

It uses process_time() built-in function in python 3.7 or above. More info on Python Docs


As soon as you import the module, __name__ != '__main__' gets excuted and it is the starting of the program,

(Prefer to import exeTime above all imports)

—Write your code—

After finishing writing your code and successfully compilling, call exetime() or exetime_ms() (At the end of everything)

Use the print() for viewing the output



Note: the delay of time.sleep(5) won’t be included, since it only calculate the process time by CPU

Developer and Credit

This module was developed by Saikat

External Credit: