output formating

mixo mixo at beth.uniforum.org.za
Tue Apr 16 07:59:42 EDT 2002


I am looking for a way to do something like ('cal' command )

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

        January               February                 March
Su Mo Tu We Th Fr Sa   Su Mo Tu We Th Fr Sa   Su Mo Tu We Th Fr Sa
        1  2  3  4  5                   1  2                   1  2
  6  7  8  9 10 11 12    3  4  5  6  7  8  9    3  4  5  6  7  8  9
13 14 15 16 17 18 19   10 11 12 13 14 15 16   10 11 12 13 14 15 16
20 21 22 23 24 25 26   17 18 19 20 21 22 23   17 18 19 20 21 22 23
27 28 29 30 31         24 25 26 27 28         24 25 26 27 28 29 30
                                               31
.
.
.
.


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Put another way, how can I split ouput into columns, and rows?




More information about the Python-list mailing list