Re: [Python-ideas] Add a "week" function or attribute to datetime.date

2019-03-01 Thread Antonio Galán
de marzo de 2019 9:33, Adrien Ricocotam escribió: > I like the idea. But how to distinguish it from the number of week past > since the beginning of the month ? > > But that’s great. > > On Fri 1 Mar 2019 at 09:31, Antonio Galán wrote: > >> Hi, datetime.date.today() (or o

[Python-ideas] Add a "week" function or attribute to datetime.date

2019-03-01 Thread Antonio Galán
Hi, datetime.date.today() (or other day) has attributes .year and .month wich return the year and the month of that date, also it has a function weekday() wich return the number of the day in the week. I think it is a good idea add a function or attribute "week" wich return the number of the