Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
これが私のコードです
while x <= datetime.date.today(): print something
どうすれば入手できdatetime.date.tomorrow()ますか?
datetime.date.tomorrow()
使用datetime.timedelta():
datetime.timedelta()
tomorrow = datetime.date.today() + datetime.timedelta(days=1)
a と a を合計するdate()と、属性timedelta()のみが使用されます。.days
date()
timedelta()
.days