Hello gurus,
I have a question, a function like below, it is implemented by me, :)
def funcA(tarray):
a = [2,3,4]
if len(tarray) >=3:
return a[0],a[1], a[2]
elif len(tarray) == 2:
return a[0],a[1], funcB(1)[0]
elif len(tarray) == 1:
John's method works perfectly, thanks all for your kind help.
"John Machin" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Jul 24, 8:31 pm, "Yinghe Chen" <[EMAIL PROTECTED]> wrote:
>> Hi,
>> Could someone help on how to use pyt
My bad, for Dec 07, it shall output as JAN08.
"Yinghe Chen" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
> Could someone help on how to use python to output the next month string
> like this?
>
> "AUG07", suppose now is July 2007.
, any hints?
Thanks in advance,
Yinghe Chen
--
http://mail.python.org/mailman/listinfo/python-list