[Tutor] Through a glass, darkly: the datetime module
steve at pearwood.info
Sun Oct 7 03:50:36 CEST 2012
On 07/10/12 12:08, Richard D. Moores wrote:
> On Sat, Oct 6, 2012 at 4:42 PM, Mark Lawrence<breamoreboy at yahoo.co.uk> wrote:
>> Use calendar.day_name.
By reading the Fine Manual.
which is so short that I can copy it here:
An array that represents the abbreviated days of the week in
the current locale.
Like other arrays, lists, tuples etc., you use it by getting the
item at position n:
py> import calendar
More information about the Tutor