pytz get timezone code example Example: pytz timezone list import pytz for tz in pytz.all_timezones: print tz