python time zone list code example Example: pytz timezone list import pytz for tz in pytz.all_timezones: print tz