Re: [Tutor] Cal command in python...

2006-11-02 Thread Simon Brunning
On 11/2/06, Kent Johnson <[EMAIL PROTECTED]> wrote: > In the Python standard library. Much of the library is written in Python > and supplied as source. On Windows it will be something like > C:\Python25\Lib\calendar.py. On other platforms I don't know the path > but it will be part of the Python i

Re: [Tutor] Cal command in python...

2006-11-02 Thread Kent Johnson
Asrarahmed Kadri wrote: > > I got the command and saw its output..? But where to look for the source > code..? > Which library ? In the Python standard library. Much of the library is written in Python and supplied as source. On Windows it will be something like C:\Python25\Lib\calendar.py. O

Re: [Tutor] Cal command in python...

2006-11-02 Thread Asrarahmed Kadri
  I got the command and saw its output..? But where to look for the source code..? Which library ?   TIA.   Regards, Asrarahmed     On 11/2/06, Kent Johnson <[EMAIL PROTECTED]> wrote: Asrarahmed Kadri wrote:>>> Folks,>> Does anybody have an idea of the logic used in cal command... I want to > know

Re: [Tutor] Cal command in python...

2006-11-02 Thread Kent Johnson
Asrarahmed Kadri wrote: > > > Folks, > > Does anybody have an idea of the logic used in cal command... I want to > know the algorithm so that I can implement in Python. See the calendar module. Source code in the library if you want to see how it is done. In [1]: import calendar In [2]: c

[Tutor] Cal command in python...

2006-11-02 Thread Asrarahmed Kadri
  Folks,   Does anybody have an idea of the logic used in cal command... I want to know the algorithm so that I can implement in Python.   A pseudo code might be helpful...   TIA.   Regards, ~Asrarahmed~ -- To HIM you shall return. ___ Tutor maillist -