This is a Python dictionary of ISO 3166-1 alpha-2 codes and their corresponding country names, as per official ISO site's data in July 2015.
>>> from iso_country_codes import CC
>>> len(CC)
249
>>> CC["GR"]
'GREECE'
Python dictionary of 2-digit country codes (ISO 3166-1 alpha-2)
This is a Python dictionary of ISO 3166-1 alpha-2 codes and their corresponding country names, as per official ISO site's data in July 2015.
>>> from iso_country_codes import CC
>>> len(CC)
249
>>> CC["GR"]
'GREECE'
Python dictionary of 2-digit country codes (ISO 3166-1 alpha-2)
MIT License