I have a list of countries like:
countries=[\'American Samoa\', \'Canada\', \'France\'...]
I want to convert them like this:
For those using the ISO 3166-1 Country Codes, they will no longer be freely availalble from ISO after Feb. 20, 2014. See their notice: http://www.iso.org/iso/home/standards/country_codes/country-codes_new-product-info
There are plenty of archived versions on the net. I've placed copies (2/15/2014) of the English and French txt and xml versions here: http://www.opengeocode.org/archive.php