On Mon, 19 Sep 2005 12:10:04 GMT, Chris <[EMAIL PROTECTED]> wrote: > Thanks to everyone for your help! > > That fit the need perfectly. > > In article <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] says... >> Is there a way to make python create a list of Mondays for a given year? >> >> For example, >> >> mondays = ['1/3/2005','1/10/2005','1/17/2005','1/24/2005', >> '1/31/2005','2/7/2005', ... ] >>
You can also calculate it using the Julian Day Number. Google on astronomical calculations, or read the introduction to one of the Numerical Recipies. . . books for a discussion and algorithm. -- http://mail.python.org/mailman/listinfo/python-list