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
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
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
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
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 -