easy-tic-toc-0.0.1
توضیحات
The easiest way to calculate the execution time of any part of the program in Python
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | easy-tic-toc-0.0.1 |
| نام | easy-tic-toc |
| نسخه کتابخانه | 0.0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Shakib Rahimi |
| ایمیل نویسنده | shakibrahimy@gmail.com |
| آدرس صفحه اصلی | https://github.com/shakib-rahimi/tictoc |
| آدرس اینترنتی | https://pypi.org/project/easy-tic-toc/ |
| مجوز | - |
## Usage
"""python
from tictoc import tic, toc
tic()
<some codes>
toc() # to show the execution time directly with built-in print function
#-----------------------------------------#
tic()
<some codes 2>
execution_time = toc(False) # do not show, but return as a variable
"""
نحوه نصب
نصب پکیج whl easy-tic-toc-0.0.1:
pip install easy-tic-toc-0.0.1.whl
نصب پکیج tar.gz easy-tic-toc-0.0.1:
pip install easy-tic-toc-0.0.1.tar.gz