Skip to content

Instantly share code, notes, and snippets.

@rpechayr
Created February 19, 2015 16:37
Show Gist options
  • Save rpechayr/c69e672f5c3345530590 to your computer and use it in GitHub Desktop.
Save rpechayr/c69e672f5c3345530590 to your computer and use it in GitHub Desktop.
Countries
countries = [["Andorra", "00376"], ["United Arab Emirates", "00971"], ["Afghanistan", "0093"], ["Antigua and Barbuda", "0111"], ["Anguilla", "0111"], ["Albania", "00355"], ["Armenia", "00374"], ["Netherlands Antilles", "00599"], ["Angola", "00244"], ["Antarctica", "672"], ["Argentina", "0054"], ["American Samoa", "0111"], ["Austria", "0043"], ["Australia", "001161"], ["Aruba", "00297"], ["Åland Islands", "358"], ["Azerbaijan", "810994"], ["Bosnia and Herzegovina", "00387"], ["Barbados", "0111"], ["Bangladesh", "00880"], ["Belgium", "0032"], ["Burkina Faso", "00226"], ["Bulgaria", "00359"], ["Bahrain", "00973"], ["Burundi", "00257"], ["Benin", "00229"], ["Saint Barthélemy", "590"], ["Bermuda", "0111"], ["Brunei Darussalam", "00673"], ["Bolivia", "0010591"], ["Bonaire, Sint Eustatius and Saba", "00599"], ["Brazil", "001455"], ["Bahamas", "0111"], ["Bhutan", "00975"], ["Bouvet Island", ""], ["Botswana", "00267"], ["Belarus", "810375"], ["Belize", "00501"], ["Canada", "0111"], ["Cocos (Keeling) Islands", "001161"], ["Congo, The Democratic Republic Of The", "00243"], ["Central African Republic", "00236"], ["Congo", "00242"], ["Switzerland", "0041"], ["Côte D'Ivoire", "00225"], ["Cook Islands", "00682"], ["Chile", "0056"], ["Cameroon", "00237"], ["China", "0086"], ["Colombia", "00557"], ["Costa Rica", "00506"], ["Cuba", "11953"], ["Cape Verde", "00238"], ["Curaçao", "00599"], ["Christmas Island", "001161"], ["Cyprus", "00357"], ["Czech Republic", "00420"], ["Germany", "0049"], ["Djibouti", "00253"], ["Denmark", "0045"], ["Dominica", "0111"], ["Dominican Republic", "0111"], ["Algeria", "00213"], ["Ecuador", "00593"], ["Estonia", "00372"], ["Egypt", "0020"], ["Western Sahara", "212"], ["Eritrea", "00291"], ["Spain", "0034"], ["Ethiopia", "00251"], ["Finland", "00358"], ["Fiji", "00679"], ["Falkland Islands (Malvinas)", "00500"], ["Micronesia, Federated States Of", "011691"], ["Faroe Islands", "00298"], ["France", "0033"], ["Gabon", "00241"], ["United Kingdom", "0044"], ["Grenada", "0111"], ["Georgia", "810995"], ["French Guiana", "00594"], ["Guernsey", "44"], ["Ghana", "00233"], ["Gibraltar", "00350"], ["Greenland", "009299"], ["Gambia", "00220"], ["Guinea", "00224"], ["Guadeloupe", "00590"], ["Equatorial Guinea", "00240"], ["Greece", "0030"], ["South Georgia and the South Sandwich Islands", "500"], ["Guatemala", "00502"], ["Guam", "0111"], ["Guinea-Bissau", "00245"], ["Guyana", "00592"], ["Hong Kong", "001852"], ["Heard and McDonald Islands", ""], ["Honduras", "00504"], ["Croatia", "00385"], ["Haiti", "00509"], ["Hungary", "0036"], ["Indonesia", "00162"], ["Ireland", "00353"], ["Israel", "00972"], ["Isle of Man", "44"], ["India", "0091"], ["British Indian Ocean Territory", "246"], ["Iraq", "00964"], ["Iran, Islamic Republic Of", "0098"], ["Iceland", "00354"], ["Italy", "0039"], ["Jersey", "44"], ["Jamaica", "0111"], ["Jordan", "00962"], ["Japan", "01081"], ["Kenya", "000254"], ["Kyrgyzstan", "00996"], ["Cambodia", "00855"], ["Kiribati", "00686"], ["Comoros", "00269"], ["Saint Kitts And Nevis", "0111"], ["Korea, Democratic People's Republic Of", "00850"], ["Korea, Republic of", "00182"], ["Kuwait", "00965"], ["Cayman Islands", "0111"], ["Kazakhstan", "8107"], ["Lao People's Democratic Republic", "00856"], ["Lebanon", "00961"], ["Saint Lucia", "0111"], ["Liechtenstein", "00423"], ["Sri Lanka", "0094"], ["Liberia", "00231"], ["Lesotho", "00266"], ["Lithuania", "00370"], ["Luxembourg", "00352"], ["Latvia", "00371"], ["Libya", "00218"], ["Morocco", "00212"], ["Monaco", "00377"], ["Moldova, Republic of", "00373"], ["Montenegro", "99382"], ["Saint Martin", "590"], ["Madagascar", "00261"], ["Marshall Islands", "00692"], ["Macedonia, the Former Yugoslav Republic Of", "00389"], ["Mali", "00223"], ["Myanmar", "0095"], ["Mongolia", "001976"], ["Macao", "00853"], ["Northern Mariana Islands", "0111"], ["Martinique", "00596"], ["Mauritania", "00222"], ["Montserrat", "0111"], ["Malta", "00356"], ["Mauritius", "020230"], ["Maldives", "00960"], ["Malawi", "00265"], ["Mexico", "0052"], ["Malaysia", "0060"], ["Mozambique", "00258"], ["Namibia", "00264"], ["New Caledonia", "00687"], ["Niger", "00227"], ["Norfolk Island", "00672"], ["Nigeria", "009234"], ["Nicaragua", "00505"], ["Netherlands", "0031"], ["Norway", "0047"], ["Nepal", "00977"], ["Nauru", "00674"], ["Niue", "00683"], ["New Zealand", "0064"], ["Oman", "00968"], ["Panama", "00507"], ["Peru", "0051"], ["French Polynesia", "00689"], ["Papua New Guinea", "05675"], ["Philippines", "0063"], ["Pakistan", "0092"], ["Poland", "0048"], ["Saint Pierre And Miquelon", "00508"], ["Pitcairn", "00"], ["Puerto Rico", "0111"], ["Palestine, State of", "00970"], ["Portugal", "00351"], ["Palau", "00680"], ["Paraguay", "002595"], ["Qatar", "00974"], ["Réunion", "00262"], ["Romania", "0040"], ["Serbia", "99381"], ["Russian Federation", "8107"], ["Rwanda", "00250"], ["Saudi Arabia", "00966"], ["Solomon Islands", "00677"], ["Seychelles", "00248"], ["Sudan", "00249"], ["Sweden", "0046"], ["Singapore", "00165"], ["Saint Helena", "00290"], ["Slovenia", "00386"], ["Svalbard And Jan Mayen", "0047"], ["Slovakia", "00421"], ["Sierra Leone", "00232"], ["San Marino", "00378"], ["Senegal", "00221"], ["Somalia", "00252"], ["Suriname", "00597"], ["South Sudan", "0211"], ["Sao Tome and Principe", "00239"], ["El Salvador", "00503"], ["Sint Maarten", "0111"], ["Syrian Arab Republic", "00963"], ["Swaziland", "00268"], ["Turks and Caicos Islands", "0111"], ["Chad", "15235"], ["French Southern Territories", ""], ["Togo", "00228"], ["Thailand", "00166"], ["Tajikistan", "810992"], ["Tokelau", "00690"], ["Timor-Leste", "None670"], ["Turkmenistan", "810993"], ["Tunisia", "00216"], ["Tonga", "00676"], ["Turkey", "0090"], ["Trinidad and Tobago", "0111"], ["Tuvalu", "00688"], ["Taiwan, Republic Of China", "002886"], ["Tanzania, United Republic of", "000255"], ["Ukraine", "810380"], ["Uganda", "000256"], ["United States Minor Outlying Islands", ""], ["United States", "0111"], ["Uruguay", "00598"], ["Uzbekistan", "810998"], ["Holy See (Vatican City State)", "0039"], ["Saint Vincent And The Grenedines", "0111"], ["Venezuela, Bolivarian Republic of", "0058"], ["Virgin Islands, British", "0111"], ["Virgin Islands, U.S.", "0111"], ["Vietnam", "0084"], ["Vanuatu", "00678"], ["Wallis and Futuna", "19681"], ["Samoa", "00685"], ["Yemen", "00967"], ["Mayotte", "00262"], ["South Africa", "0927"], ["Zambia", "00260"], ["Zimbabwe", "00263"]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment