Ticket #5692: country.py

File country.py, 9.6 KB (added by Davide "Design" Muzzarelli <info@…>, 17 years ago)
Line 
1# -*- coding: utf-8 -*
2
3COUNTRIES = (
4 ('AF', 'AFG', '004', 'Afghanistan'),
5 ('AX', 'ALA', '248', 'Åland Islands'),
6 ('AL', 'ALB', '008', 'Albania'),
7 ('DZ', 'DZA', '012', 'Algeria'),
8 ('AS', 'ASM', '016', 'American Samoa'),
9 ('AD', 'AND', '020', 'Andorra'),
10 ('AO', 'AGO', '024', 'Angola'),
11 ('AI', 'AIA', '660', 'Anguilla'),
12 ('AQ', 'ATA', '010', 'Antarctica'),
13 ('AG', 'ATG', '028', 'Antigua and Barbuda'),
14 ('AR', 'ARG', '032', 'Argentina'),
15 ('AM', 'ARM', '051', 'Armenia'),
16 ('AW', 'ABW', '533', 'Aruba'),
17 ('AU', 'AUS', '036', 'Australia'),
18 ('AT', 'AUT', '040', 'Austria'),
19 ('AZ', 'AZE', '031', 'Azerbaijan'),
20 ('BS', 'BHS', '044', 'the Bahamas'),
21 ('BH', 'BHR', '048', 'Bahrain'),
22 ('BD', 'BGD', '050', 'Bangladesh'),
23 ('BB', 'BRB', '052', 'Barbados'),
24 ('BY', 'BLR', '112', 'Belarus'),
25 ('BE', 'BEL', '056', 'Belgium'),
26 ('BZ', 'BLZ', '084', 'Belize'),
27 ('BJ', 'BEN', '204', 'Benin'),
28 ('BM', 'BMU', '060', 'Bermuda'),
29 ('BT', 'BTN', '064', 'Bhutan'),
30 ('BO', 'BOL', '068', 'Bolivia'),
31 ('BA', 'BIH', '070', 'Bosnia and Herzegovina'),
32 ('BW', 'BWA', '072', 'Botswana'),
33 ('BV', 'BVT', '074', 'Bouvet Island'),
34 ('BR', 'BRA', '076', 'Brazil'),
35 ('IO', 'IOT', '086', 'British Indian Ocean Territory'),
36 ('BN', 'BRN', '096', 'Brunei Darussalam'),
37 ('BG', 'BGR', '100', 'Bulgaria'),
38 ('BF', 'BFA', '854', 'Burkina Faso'),
39 ('BI', 'BDI', '108', 'Burundi'),
40 ('KH', 'KHM', '116', 'Cambodia'),
41 ('CM', 'CMR', '120', 'Cameroon'),
42 ('CA', 'CAN', '124', 'Canada'),
43 ('CV', 'CPV', '132', 'Cape Verde'),
44 ('KY', 'CYM', '136', 'Cayman Islands'),
45 ('CF', 'CAF', '140', 'Central African Republic'),
46 ('TD', 'TCD', '148', 'Chad'),
47 ('CL', 'CHL', '152', 'Chile'),
48 ('CN', 'CHN', '156', 'China'),
49 ('CX', 'CXR', '162', 'Christmas Island'),
50 ('CC', 'CCK', '166', 'Cocos (Keeling) Islands'),
51 ('CO', 'COL', '170', 'Colombia'),
52 ('KM', 'COM', '174', 'Comoros'),
53 ('CG', 'COG', '178', 'Congo'),
54 ('CD', 'COD', '180', 'Democratic Republic of the Congo'),
55 ('CK', 'COK', '184', 'Cook Islands'),
56 ('CR', 'CRI', '188', 'Costa Rica'),
57 ('CI', 'CIV', '384', 'Côte d\'Ivoire'),
58 ('HR', 'HRV', '191', 'Croatia'),
59 ('CU', 'CUB', '192', 'Cuba'),
60 ('CY', 'CYP', '196', 'Cyprus'),
61 ('CZ', 'CZE', '203', 'Czech Republic'),
62 ('DK', 'DNK', '208', 'Denmark'),
63 ('DJ', 'DJI', '262', 'Djibouti'),
64 ('DM', 'DMA', '212', 'Dominica'),
65 ('DO', 'DOM', '214', 'Dominican Republic'),
66 ('EC', 'ECU', '218', 'Ecuador'),
67 ('EG', 'EGY', '818', 'Egypt'),
68 ('SV', 'SLV', '222', 'El Salvador'),
69 ('GQ', 'GNQ', '226', 'Equatorial Guinea'),
70 ('ER', 'ERI', '232', 'Eritrea'),
71 ('EE', 'EST', '233', 'Estonia'),
72 ('ET', 'ETH', '231', 'Ethiopia'),
73 ('FK', 'FLK', '238', 'Falkland Islands (Malvinas)'),
74 ('FO', 'FRO', '234', 'Faroe Islands'),
75 ('FJ', 'FJI', '242', 'Fiji'),
76 ('FI', 'FIN', '246', 'Finland'),
77 ('FR', 'FRA', '250', 'France'),
78 ('GF', 'GUF', '254', 'French Guiana'),
79 ('PF', 'PYF', '258', 'French Polynesia'),
80 ('TF', 'ATF', '260', 'French Southern and Antarctic Lands'),
81 ('GA', 'GAB', '266', 'Gabon'),
82 ('GM', 'GMB', '270', 'Gambia'),
83 ('GE', 'GEO', '268', 'Georgia'),
84 ('DE', 'DEU', '276', 'Germany'),
85 ('GH', 'GHA', '288', 'Ghana'),
86 ('GI', 'GIB', '292', 'Gibraltar'),
87 ('GR', 'GRC', '300', 'Greece'),
88 ('GL', 'GRL', '304', 'Greenland'),
89 ('GD', 'GRD', '308', 'Grenada'),
90 ('GP', 'GLP', '312', 'Guadeloupe'),
91 ('GU', 'GUM', '316', 'Guam'),
92 ('GT', 'GTM', '320', 'Guatemala'),
93 ('GG', 'GGY', '831', 'Guernsey'),
94 ('GN', 'GIN', '324', 'Guinea'),
95 ('GW', 'GNB', '624', 'Guinea-Bissau'),
96 ('GY', 'GUY', '328', 'Guyana'),
97 ('HT', 'HTI', '332', 'Haiti'),
98 ('HM', 'HMD', '334', 'Heard Island and McDonald Islands'),
99 ('VA', 'VAT', '336', 'Vatican City Holy See'),
100 ('HN', 'HND', '340', 'Honduras'),
101 ('HK', 'HKG', '344', 'Hong Kong'),
102 ('HU', 'HUN', '348', 'Hungary'),
103 ('IS', 'ISL', '352', 'Iceland'),
104 ('IN', 'IND', '356', 'India'),
105 ('ID', 'IDN', '360', 'Indonesia'),
106 ('IR', 'IRN', '364', 'Iran'),
107 ('IQ', 'IRQ', '368', 'Iraq'),
108 ('IE', 'IRL', '372', 'Ireland'),
109 ('IM', 'IMN', '833', 'Isle of Man'),
110 ('IL', 'ISR', '376', 'Israel'),
111 ('IT', 'ITA', '380', 'Italy'),
112 ('JM', 'JAM', '388', 'Jamaica'),
113 ('JP', 'JPN', '392', 'Japan'),
114 ('JE', 'JEY', '832', 'Jersey'),
115 ('JO', 'JOR', '400', 'Jordan'),
116 ('KZ', 'KAZ', '398', 'Kazakhstan'),
117 ('KE', 'KEN', '404', 'Kenya'),
118 ('KI', 'KIR', '296', 'Kiribati'),
119 ('KP', 'PRK', '408', 'North Korea'),
120 ('KR', 'KOR', '410', 'South Korea'),
121 ('KW', 'KWT', '414', 'Kuwait'),
122 ('KG', 'KGZ', '417', 'Kyrgyzstan'),
123 ('LA', 'LAO', '418', 'Laos Lao'),
124 ('LV', 'LVA', '428', 'Latvia'),
125 ('LB', 'LBN', '422', 'Lebanon'),
126 ('LS', 'LSO', '426', 'Lesotho'),
127 ('LR', 'LBR', '430', 'Liberia'),
128 ('LY', 'LBY', '434', 'Libya Libyan Arab Jamahiriya'),
129 ('LI', 'LIE', '438', 'Liechtenstein'),
130 ('LT', 'LTU', '440', 'Lithuania'),
131 ('LU', 'LUX', '442', 'Luxembourg'),
132 ('MO', 'MAC', '446', 'Macau Macao'),
133 ('MK', 'MKD', '807', 'Macedonia'),
134 ('MG', 'MDG', '450', 'Madagascar'),
135 ('MW', 'MWI', '454', 'Malawi'),
136 ('MY', 'MYS', '458', 'Malaysia'),
137 ('MV', 'MDV', '462', 'Maldives'),
138 ('ML', 'MLI', '466', 'Mali'),
139 ('MT', 'MLT', '470', 'Malta'),
140 ('MH', 'MHL', '584', 'Marshall Islands'),
141 ('MQ', 'MTQ', '474', 'Martinique'),
142 ('MR', 'MRT', '478', 'Mauritania'),
143 ('MU', 'MUS', '480', 'Mauritius'),
144 ('YT', 'MYT', '175', 'Mayotte'),
145 ('MX', 'MEX', '484', 'Mexico'),
146 ('FM', 'FSM', '583', 'Micronesia'),
147 ('MD', 'MDA', '498', 'Moldova'),
148 ('MC', 'MCO', '492', 'Monaco'),
149 ('MN', 'MNG', '496', 'Mongolia'),
150 ('ME', 'MNE', '499', 'Montenegro'),
151 ('MS', 'MSR', '500', 'Montserrat'),
152 ('MA', 'MAR', '504', 'Morocco'),
153 ('MZ', 'MOZ', '508', 'Mozambique'),
154 ('MM', 'MMR', '104', 'Myanmar'),
155 ('NA', 'NAM', '516', 'Namibia'),
156 ('NR', 'NRU', '520', 'Nauru'),
157 ('NP', 'NPL', '524', 'Nepal'),
158 ('NL', 'NLD', '528', 'Netherlands'),
159 ('AN', 'ANT', '530', 'Netherlands Antilles'),
160 ('NC', 'NCL', '540', 'New Caledonia'),
161 ('NZ', 'NZL', '554', 'New Zealand'),
162 ('NI', 'NIC', '558', 'Nicaragua'),
163 ('NE', 'NER', '562', 'Niger'),
164 ('NG', 'NGA', '566', 'Nigeria'),
165 ('NU', 'NIU', '570', 'Niue'),
166 ('NF', 'NFK', '574', 'Norfolk Island Norfolk Island'),
167 ('MP', 'MNP', '580', 'Northern Mariana Islands'),
168 ('NO', 'NOR', '578', 'Norway'),
169 ('OM', 'OMN', '512', 'Oman'),
170 ('PK', 'PAK', '586', 'Pakistan'),
171 ('PW', 'PLW', '585', 'Palau'),
172 ('PS', 'PSE', '275', 'Palestinian Territory'),
173 ('PA', 'PAN', '591', 'Panama'),
174 ('PG', 'PNG', '598', 'Papua New Guinea'),
175 ('PY', 'PRY', '600', 'Paraguay'),
176 ('PE', 'PER', '604', 'Peru'),
177 ('PH', 'PHL', '608', 'Philippines'),
178 ('PN', 'PCN', '612', 'Pitcairn Islands'),
179 ('PL', 'POL', '616', 'Poland'),
180 ('PT', 'PRT', '620', 'Portugal'),
181 ('PR', 'PRI', '630', 'Puerto Rico'),
182 ('QA', 'QAT', '634', 'Qatar'),
183 ('RE', 'REU', '638', 'Réunion'),
184 ('RO', 'ROU', '642', 'Romania'),
185 ('RU', 'RUS', '643', 'Russia'),
186 ('RW', 'RWA', '646', 'Rwanda'),
187 ('SH', 'SHN', '654', 'Saint Helena'),
188 ('KN', 'KNA', '659', 'Saint Kitts and Nevis'),
189 ('LC', 'LCA', '662', 'Saint Lucia'),
190 ('PM', 'SPM', '666', 'Saint Pierre and Miquelon'),
191 ('VC', 'VCT', '670', 'Saint Vincent and the Grenadines'),
192 ('WS', 'WSM', '882', 'Samoa'),
193 ('SM', 'SMR', '674', 'San Marino'),
194 ('ST', 'STP', '678', 'Sao Tome and Principe'),
195 ('SA', 'SAU', '682', 'Saudi Arabia'),
196 ('SN', 'SEN', '686', 'Senegal'),
197 ('RS', 'SRB', '688', 'Serbia'),
198 ('SC', 'SYC', '690', 'Seychelles'),
199 ('SL', 'SLE', '694', 'Sierra Leone'),
200 ('SG', 'SGP', '702', 'Singapore'),
201 ('SK', 'SVK', '703', 'Slovakia'),
202 ('SI', 'SVN', '705', 'Slovenia'),
203 ('SB', 'SLB', '090', 'Solomon Islands'),
204 ('SO', 'SOM', '706', 'Somalia'),
205 ('ZA', 'ZAF', '710', 'South Africa'),
206 ('GS', 'SGS', '239', 'South Georgia and the South Sandwich Islands'),
207 ('ES', 'ESP', '724', 'Spain'),
208 ('LK', 'LKA', '144', 'Sri Lanka'),
209 ('SD', 'SDN', '736', 'Sudan'),
210 ('SR', 'SUR', '740', 'Suriname'),
211 ('SJ', 'SJM', '744', 'Svalbard and Jan Mayen'),
212 ('SZ', 'SWZ', '748', 'Swaziland'),
213 ('SE', 'SWE', '752', 'Sweden'),
214 ('CH', 'CHE', '756', 'Switzerland'),
215 ('SY', 'SYR', '760', 'Syria'),
216 ('TW', 'TWN', '158', 'Taiwan'),
217 ('TJ', 'TJK', '762', 'Tajikistan'),
218 ('TZ', 'TZA', '834', 'Tanzania'),
219 ('TH', 'THA', '764', 'Thailand'),
220 ('TL', 'TLS', '626', 'East Timor'),
221 ('TG', 'TGO', '768', 'Togo'),
222 ('TK', 'TKL', '772', 'Tokelau'),
223 ('TO', 'TON', '776', 'Tonga'),
224 ('TT', 'TTO', '780', 'Trinidad and Tobago'),
225 ('TN', 'TUN', '788', 'Tunisia'),
226 ('TR', 'TUR', '792', 'Turkey'),
227 ('TM', 'TKM', '795', 'Turkmenistan'),
228 ('TC', 'TCA', '796', 'Turks and Caicos Islands'),
229 ('TV', 'TUV', '798', 'Tuvalu'),
230 ('UG', 'UGA', '800', 'Uganda'),
231 ('UA', 'UKR', '804', 'Ukraine'),
232 ('AE', 'ARE', '784', 'United Arab Emirates'),
233 ('GB', 'GBR', '826', 'United Kingdom'),
234 ('US', 'USA', '840', 'United States'),
235 ('UM', 'UMI', '581', 'United States Minor Outlying Islands'),
236 ('UY', 'URY', '858', 'Uruguay'),
237 ('UZ', 'UZB', '860', 'Uzbekistan'),
238 ('VU', 'VUT', '548', 'Vanuatu'),
239 ('VE', 'VEN', '862', 'Venezuela'),
240 ('VN', 'VNM', '704', 'Vietnam Viet Nam'),
241 ('VG', 'VGB', '092', 'British Virgin Islands'),
242 ('VI', 'VIR', '850', 'United States Virgin Islands'),
243 ('WF', 'WLF', '876', 'Wallis and Futuna'),
244 ('EH', 'ESH', '732', 'Western Sahara'),
245 ('YE', 'YEM', '887', 'Yemen'),
246 ('ZM', 'ZMB', '894', 'Zambia'),
247 ('ZW', 'ZWE', '716', 'Zimbabwe'),
248)
Back to Top