Open this example in the interactive library
Source code
from datetime import date
print(tuple(date(2026, 10, 22).isocalendar()))Sample output
(2026, 43, 4)

Get ISO week information. A self-contained example using the Python standard library.
Open this example in the interactive library
from datetime import date
print(tuple(date(2026, 10, 22).isocalendar()))(2026, 43, 4)