Weekly Report Template Creation

Beginner

In this project, you will learn how to create a weekly report template for a new project team. The weekly report is used to summarize the daily work of the project team for regular review.

Python

Introduction

In this project, you will learn how to create a weekly report template for a new project team. The weekly report is used to summarize the daily work of the project team for regular review.

👀 Preview

## example

## start_date = datetime.date(2023,10,1)      Sunday
## end_date = datetime.date(2023,10,16)       Monday
$ ls weekly
2023-10-06.txt  2023-10-13.txt  2023-10-16.txt
$ cat 2023-10-06.txt
2023-10-02
2023-10-03
2023-10-04
2023-10-05
2023-10-06
$ cat 2023-10-16.txt
2023-10-16

ðŸŽŊ Tasks

In this project, you will learn:

  • How to create a "weekly" folder to store the weekly report template files
  • How to determine the Friday of the week containing the start date
  • How to write the weekly report template files in the "weekly" folder
  • How to adjust the end date to the previous Friday if it falls on a Saturday or Sunday
  • How to create the final weekly report template file for the last week of the project

🏆 Achievements

After completing this project, you will be able to:

  • Automatically generate weekly report templates based on the project start and end dates
  • Ensure the weekly report templates only include weekdays, excluding weekends
  • Adjust the end date to the previous Friday if it falls on a weekend
  • Create a consistent and organized structure for storing the weekly report templates

Teacher

labby

Labby

Labby is the LabEx teacher.