pytz - python timezone library code example
Example 1: pytz timezone list
import pytz
for tz in pytz.all_timezones:
print tz
Example 2: python import timezone
from datetime import timezone
import pytz
for tz in pytz.all_timezones:
print tz
from datetime import timezone