On 12/09/11 21:15, nitin chandra wrote:
I need to create a calendar with python&  CSS for the web page, in the
following format

                           Dec , 2011
-------------------------------------------------------------------------------------------------
sun  |   mon  |   tue  |  wed thu fri sat sun mon tue  wed  thu  fri  sat  sun
-------|-----------|----------|----------------------------------------------------------------------
1     |     2     |   3     | 4    5   6   7    8    9     10   11
12   13  14   15
-------|-----------|----------|-----------------------------------------------------------------------
img1 |  img2 |  img3 | ....

                           Jan , 2012
-------------------------------------------------------------------------------------------------
sun  |   mon  |   tue  |  wed thu fri sat sun mon tue  wed  thu  fri  sat  sun
-------|-----------|----------|----------------------------------------------------------------------
1     |     2     |   3     | 4    5   6   7    8    9     10   11
12   13  14   15
-------|-----------|----------|-----------------------------------------------------------------------
img1 |  img2 |  img3 | ....

                           Feb , 2012
-------------------------------------------------------------------------------------------------
sun  |   mon  |   tue  |  wed thu fri sat sun mon tue  wed  thu  fri  sat  sun
-------|-----------|----------|----------------------------------------------------------------------
1     |     2     |   3     | 4    5   6   7    8    9     10   11
12   13  14   15
-------|-----------|----------|-----------------------------------------------------------------------
img1 |  img2 |  img3 | ....


Can some one please show me how to do the above ?

Have a look at the calendar module.

A quick google search I also found [1] which does all the bits you just need to adapt it for your needs.

Greets
Sander
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to