No replies
jgaard's picture
Last seen: 1 year 16 weeks ago
Timezone: GMT+2
Joined: 2021-08-10
Posts: 1
Points: 2


I have this idea about automating an annoying part of my job. The solution today is based on colorizing cells in an excel spredsheet.

I would like to make some python code do the most of the job for me. I'll write the HTML that I need. But I need to figure out if CSS is the way to go. And how to do it the easiest way.

I want it to look some thing like the preview that I have attached.

I'm figuring some thing like 6 colums (one for each month) each split into 4 colums (name of the day, number og the day, text, week number)

And 34 rows (header, name og month, 31 rows one for each day of each month, a count of workdays in that month)

This will end up being a huge CSS grid of 816 cells.

My questions are,

  1. Is this a good idea or is there an easier way to do it? The workload will be in creating the grid and the HTML the first time, after that it will be python doing the work.
  2. Has anyone created such a huge grid that I can just use (I have searched but not found)?

I roughly use a week a year maintaining this and other calendars manualy. I'm hoping to make it some thing I can run with a script. Wink

preview.png109.18 KB