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