« * K @lernerpython.com

Reuven M. Lerner @lernerpython.com

2026-11-25 16:30 UTC

Tomorrow is Thanksgiving in the US. Use the "holidays" package to calculate its date in #Python: import holidays us_holidays = holidays.US(years=2026) us_holidays['2026-11-26'] # 'Thanksgiving Day' us_holidays.get_named('Thanksgiving Day') # [datetime.date(2026, 11, 26)]

1 picture (not shown on this phone)

2 likes, 0 reposts, 0 replies

3 Next post4 More from @lernerpython.comBackBluesky home
☆ Save to home · 0 Home · Find · Games · Chat · AI · Setup