Skip to content

Instantly share code, notes, and snippets.

View jenca-adam's full-sized avatar

Adam Jenča jenca-adam

View GitHub Profile
@rogerallen
rogerallen / country_abbrev.py
Last active January 4, 2024 13:26
A Python Dictionary to translate Country Names to Two letter codes
# Python Dictionary to translate Countries to Two-Letter codes and vice versa.
#
# https://gist.github.com/rogerallen/1583606
#
# Dedicated to the public domain. To the extent possible under law,
# Roger Allen has waived all copyright and related or neighboring
# rights to this code. Data originally from Wikipedia at the url:
# https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
#
# Automatically Generated 2021-09-11 18:04:35 via Jupyter Notebook from