Just curious if this is the best way to get the first 3 letters of the current 
month?
>>> import datetime
>>> 
>>> d = datetime.date.today()
>>> m = d.strftime("%B")[:3].upper()
>>> m
'MAR'

Thanks.

Jay
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to