Spreadsheetgen: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

16 December 2023

27 August 2022

  • curprev 16:2516:25, 27 August 2022Ahapublic talk contribs 2,488 bytes +2,488 Created page with "=== Automatically creating the schedule for the year === The following python script is able to generate the yearly schedule for a given year. <markdown> ``` from datetime import datetime, timedelta from dateutil.rrule import rrule, DAILY, TH, SA import datetime as dt import xlsxwriter workbook = xlsxwriter.Workbook('demo.xlsx') bold = workbook.add_format({'bold': True}) def get_first_date_of_month(year, month): first_date = datetime(year, month, 1) return fir..."