How can I get current year and month?
One solution would be using the "time" module:
Code:import time time.localtime() #Returns a tuple such as (2008, 4, 24, 6, 22, 9, 3, 115, 1) #So in your case, just use localtime()[0] and localtime()[1]
Right, I also added this and some other methods for getting date and time using Python on the wiki.
http://wiki.forum.nokia.com/index.ph..._date_and_time
Kandyfloss
V 7.0642.0
18-10-06
RH-51
Nokia 7610