This should work:
import time
time.tzname
time.tzname
returns a tuple of two strings: The first is the name of the local non-DST timezone, the second is the name of the local DST timezone.
Example return: ('MST', 'MDT')
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…