Created
July 8, 2017 15:13
-
-
Save sjehutch/6c615365581b88ec35cff04bbc6f8c74 to your computer and use it in GitHub Desktop.
list country codes sorted
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pytz import country_timezones | |
timezone_country = {} | |
for countrycode in country_timezones: | |
timezones = country_timezones[countrycode] | |
for timezone in sorted (timezones): | |
timezone_country[timezone] = countrycode | |
print (countrycode) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment