On this page
  1. calendar.firstweekday
  2. Import
  3. Signature & Overview
  4. Usage
  5. Gotchas
  6. REPL Inspect

calendar.firstweekday

Prev: calendar.Day | Up: calendar | Next: calendar.HTMLCalendar
Rel: calendar.calendar, calendar.Calendar, calendar.Day, calendar.HTMLCalendar
Ref: docs.python.org — calendar.firstweekday
Tags: #public #python3 #stdlib #calendar


Import

import calendar
from calendar import firstweekday

Signature & Overview

calendar.firstweekday()

calendar.firstweekday() function.

Usage

import calendar

assert calendar.firstweekday() in range(7)

Gotchas

REPL Inspect

from calendar import firstweekday
help(firstweekday)

Linked from

Related notes