ISO 3166 Alpha-2 codes for EU countries
For businesses based in the EU, it's important for VAT purposes to know whether your customers are also based in the EU. As usual, a quick Google search did not reveal a usable list of EU countries by ISO 3166 Alpha-2 code, so I whipped up my own.
european_union_countries = ('AT', 'BE', 'BG', 'CY', 'CZ', [...]
Open Country Codes: ISO 3166 country names and Alpha-2 country codes in HTML, Python, JavaScript, ActionScript, Flex, JSON, and XML
Introducing Open Country Codes: easy to use ISO 3166 country codes for your apps.
Why are some things just much harder than they need to be? Finding a current, easy-to-use data source for populating a country selection box, for example.
Most of the clean country data out on the web is second-hand, having at one point [...]

