I have worked this out. The more obvious the solution the harder it is for me to find.
I am a little stuck on a python problem that must have an easy answer and I was hoping one of the Gurus could point me in the right direction as I am no python expert.
I have two lists to compare/reference??
from time import localtime
monthname=[“January”, “February”, “March”, “April”, “May”, “June”,
“July”, “August”, “September”, “October”, “November”, “December”,]
month is a integer list 1-12 and monthname is a list of 12 strings(obviously).
You should be able to see where I am going with this. Is there an easy way to reference? these lists together so I dont have to do…
etc twelve times
I have had a good look in the python docs but I’m not even sure what I am looking for.
Thanking Everybody in Advance
PS I have posted this in the python forum as well as the Game Engine