how to get next month string?

Yinghe Chen yinghe.chen at
Tue Jul 24 12:31:42 CEST 2007

Could someone help on how to use python to output the next month string like 

"AUG07", suppose now is July 2007.

I think also need to consider Dec 07 case, it is supposed to output as 

datetime module seems not supporting the arithmatic operations, any hints?

Thanks in advance,

Yinghe Chen 

More information about the Python-list mailing list