Loading...
「ツール」は右上に移動しました。
利用したサーバー: balsam-secret-fine
4いいね 18回再生

Timedelta || Datetime Module || part - 5 || #python3 #python #programming

In this video, I have discussed:
1. Timedelta class of datetimeclass
2. importing it and using it
3. Its usage
4. Adding and subtracting time and days to datetime objects.
5. Creating a timedelta object.
6. Checking minimum, maximum, resolution of timedelta class

syntax:
1. Import Syntax:
import datetime
datetime.timedelta.attribute_name_or_method

2. Import Syntax:
from datetime import timedelta
timedelta.attribute_or_method

3. Syntax for timedelta constructor object:
timedelta(days=0, seconds=0, microseconds=0, milliseconds=0, minutes=0, hours=0, weeks=0)

-----------------------------------------------------------------------------------------------------------------------
Tip: Revise older concepts and explore the datetime module.

#python #pythonprogramming #coding
#learning #teaching #youtuber #pythonfrombasics.
-----------------------------------------------------------------------------------------------------------------------
Thank you for watching and reading.
-----------------------------------------------------------------------------------------------------------------------
There are no secrets to success, it is the result of preparation, hard work, and learning.
The only way to do great work is to do what you love.
Perfection is not attainable, but if we chase perfection we can catch excellence.
An investment in knowledge pays the best interest
You become what you consistently practice so practice consistently what you want to become
Our work is the Presentation of Our capabilities
Share Your Knowledge and become Immortal.
By learning, you will teach and by teaching, you will learn.
Learning is a treasure that will follow its owner everywhere.
Learning happily is the way to success.
Revise Rewrite Retry is the stairway to success.
Never stop learning because life never stops teaching.
Every day is a good day to learn something new.
Keep learning every day.
-----------------------------------------------------------------------------------------------------------------------
Happy Coding ahead 👨‍🎓🌟✨
-----------------------------------------------------------------------------------------------------------------------
Keywords:
Ddhruv Arora
Python by Ddhruv Arora
Ddhruv Arora teaches python
Python Ddhruv
Programming and Ddhruv
Python for beginners
python basics
python concepts
python coding and programming
How to code in python
How to use datetime in python
python How to
Python time class how to use

コメント