isocodes.py :  » Web-Services » Python-Service-Objects » pso-0.98.D » py » pso » Python Open Source

Home
Python Open Source
1.3.1.2 Python
2.Ajax
3.Aspect Oriented
4.Blog
5.Build
6.Business Application
7.Chart Report
8.Content Management Systems
9.Cryptographic
10.Database
11.Development
12.Editor
13.Email
14.ERP
15.Game 2D 3D
16.GIS
17.GUI
18.IDE
19.Installer
20.IRC
21.Issue Tracker
22.Language Interface
23.Log
24.Math
25.Media Sound Audio
26.Mobile
27.Network
28.Parser
29.PDF
30.Project Management
31.RSS
32.Search
33.Security
34.Template Engines
35.Test
36.UML
37.USB Serial
38.Web Frameworks
39.Web Server
40.Web Services
41.Web Unit
42.Wiki
43.Windows
44.XML
Python Open Source » Web Services » Python Service Objects 
Python Service Objects » pso 0.98.D » py » pso » isocodes.py
#
#     Copyright (c) thanos vassilakis 2000,2001, 2002
#
#  This library is free software; you can redistribute it and/or 
#  modify it under the terms of the GNU Lesser General Public License 
#  as published by the Free Software Foundation; either version 2.1 of the 
#  License, or (at your option) any later version.
#
#  This library is distributed in the hope that it will be useful, but 
#  WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 
#  or FITNESS FOR A PARTICULAR PURPOSE.  
#  See the GNU Lesser General Public License for more details.
#
#  See terms of license at gnu.org. 
#
# $Id: isocodes.py,v 1.1 2003/01/24 17:31:07 thanos Exp $
__version__="$Revision: 1.1 $"

USStates = (
('AL','Alabama'), 
('AK','Alaska'), 
('AZ','Arizona'), 
('AR','Arkansas'), 
('CA','California'), 
('CO','Colorado'), 
('CT','Connecticut'), 
('DE','Delaware'), 
('FL','Florida'), 
('GA','Georgia'), 
('HI','Hawaii'), 
('ID','Idaho'), 
('IL','Illinois'), 
('IN','Indiana'), 
('IA','Iowa'), 
('KS','Kansas'), 
('KY','Kentucky'),
('LA','Louisiana'), 
('ME','Maine'), 
('MD','Maryland'), 
('MA','Massachusetts'), 
('MI','Michigan'), 
('MN','Minnesota'), 
('MS','Mississippi'), 
('MO','Missouri'), 
('MT','Montana'), 
('NE','Nebraska'), 
('NV','Nevada'), 
('NH','New Hampshire'), 
('NJ','New Jersey'), 
('NM','New Mexico'), 
('NY','New York'), 
('NC','North Carolina'), 
('ND','North Dakota'), 
('OH','Ohio'), 
('OK','Oklahoma'), 
('OR','Oregon'), 
('PA','Pennsylvania'), 
('RI','Rhode Island'), 
('SC','South Carolina'), 
('SD','South Dakota'), 
('TN','Tennessee'), 
('TX','Texas'), 
('UT','Utah'), 
('VT','Vermont'), 
('VA','Virginia'), 
('WA','Washington'), 
('WV','West Virginia'), 
('WI','Wisconsin'), 
('WY','Wyoming')) 




TLDCodes= (
("ac", "Ascension Island"),
("ad", "Andorra"),
("ae", "United Arab Emirates"),
("af", "Afghanistan"),
("ag", "Antigua and Barbuda"),
("ai", "Anguilla"),
("al", "Albania"),
("am", "Armenia"),
("an", "Netherlands Antilles"),
("ao", "Angola"),
("aq", "Antarctica"),
("ar", "Argentina"),
("as", "American Samoa"),
("at", "Austria"),
("au", "Australia"),
("aw", "Aruba"),
("az", "Azerbaijan"),
("ba", "Bosnia and Herzegovina"),
("bb", "Barbados"),
("bd", "Bangladesh"),
("be", "Belgium"),
("bf", "Burkina Faso"),
("bg", "Bulgaria"),
("bh", "Bahrain"),
("bi", "Burundi"),
("bj", "Benin"),
("bm", "Bermuda"),
("bn", "Brunei Darussalam"),
("bo", "Bolivia"),
("br", "Brazil"),
("bs", "Bahamas"),
("bt", "Bhutan"),
("bv", "Bouvet Island"),
("bw", "Botswana"),
("by", "Belarus"),
("bz", "Belize"),
("ca", "Canada"),
("cc", "Cocos (Keeling) Islands"),
("cd", "Congo, Democratic Republic of the"),
("cf", "Central African Republic"),
("cg", "Congo, Republic of"),
("ch", "Switzerland"),
("ci", "Cote d'Ivoire"),
("ck", "Cook Islands"),
("cl", "Chile"),
("cm", "Cameroon"),
("cn", "China"),
("co", "Colombia"),
("cr", "Costa Rica"),
("cu", "Cuba"),
("cv", "Cap Verde"),
("cx", "Christmas Island"),
("cy", "Cyprus"),
("cz", "Czech Republic"),
("de", "Germany"),
("dj", "Djibouti"),
("dk", "Denmark"),
("dm", "Dominica"),
("do", "Dominican Republic"),
("dz", "Algeria"),
("ec", "Ecuador"),
("ee", "Estonia"),
("eg", "Egypt"),
("eh", "Western Sahara"),
("er", "Eritrea"),
("es", "Spain"),
("et", "Ethiopia"),
("fi", "Finland"),
("fj", "Fiji"),
("fk", "Falkland Islands (Malvina)"),
("fm", "Micronesia, Federal State of"),
("fo", "Faroe Islands"),
("fr", "France"),
("ga", "Gabon"),
("gd", "Grenada"),
("ge", "Georgia"),
("gf", "French Guiana"),
("gg", "Guernsey"),
("gh", "Ghana"),
("gi", "Gibraltar"),
("gl", "Greenland"),
("gm", "Gambia"),
("gn", "Guinea"),
("gp", "Guadeloupe"),
("gq", "Equatorial Guinea"),
("gr", "Greece"),
("gs", "South Georgia and the South Sandwich Islands"),
("gt", "Guatemala"),
("gu", "Guam"),
("gw", "Guinea-Bissau"),
("gy", "Guyana"),
("hk", "Hong Kong"),
("hm", "Heard and McDonald Islands"),
("hn", "Honduras"),
("hr", "Croatia/Hrvatska"),
("ht", "Haiti"),
("hu", "Hungary"),
("id", "Indonesia"),
("ie", "Ireland"),
("il", "Israel"),
("im", "Isle of Man"),
("in", "India"),
("io", "British Indian Ocean Territory"),
("iq", "Iraq"),
("ir", "Iran (Islamic Republic of)"),
("is", "Iceland"),
("it", "Italy"),
("je", "Jersey"),
("jm", "Jamaica"),
("jo", "Jordan"),
("jp", "Japan"),
("ke", "Kenya"),
("kg", "Kyrgyzstan"),
("kh", "Cambodia"),
("ki", "Kiribati"),
("km", "Comoros"),
("kn", "Saint Kitts and Nevis"),
("kp", "Korea, Democratic People's Republic"),
("kr", "Korea, Republic of"),
("kw", "Kuwait"),
("ky", "Cayman Islands"),
("kz", "Kazakhstan"),
("la", "Lao People's Democratic Republic"),
("lb", "Lebanon"),
("lc", "Saint Lucia"),
("li", "Liechtenstein"),
("lk", "Sri Lanka"),
("lr", "Liberia"),
("ls", "Lesotho"),
("lt", "Lithuania"),
("lu", "Luxembourg"),
("lv", "Latvia"),
("ly", "Libyan Arab Jamahiriya"),
("ma", "Morocco"),
("mc", "Monaco"),
("md", "Moldova, Republic of"),
("mg", "Madagascar"),
("mh", "Marshall Islands"),
("mk", "Macedonia, Former Yugoslav Republic"),
("ml", "Mali"),
("mm", "Myanmar"),
("mn", "Mongolia"),
("mo", "Macau"),
("mp", "Northern Mariana Islands"),
("mq", "Martinique"),
("mr", "Mauritania"),
("ms", "Montserrat"),
("mt", "Malta"),
("mu", "Mauritius"),
("mv", "Maldives"),
("mw", "Malawi"),
("mx", "Mexico"),
("my", "Malaysia"),
("mz", "Mozambique"),
("na", "Namibia"),
("nc", "New Caledonia"),
("ne", "Niger"),
("nf", "Norfolk Island"),
("ng", "Nigeria"),
("ni", "Nicaragua"),
("nl", "Netherlands"),
("no", "Norway"),
("np", "Nepal"),
("nr", "Nauru"),
("nu", "Niue"),
("nz", "New Zealand"),
("om", "Oman"),
("pa", "Panama"),
("pe", "Peru"),
("pf", "French Polynesia"),
("pg", "Papua New Guinea"),
("ph", "Philippines"),
("pk", "Pakistan"),
("pl", "Poland"),
("pm", "St. Pierre and Miquelon"),
("pn", "Pitcairn Island"),
("pr", "Puerto Rico"),
("ps", "Palestinian Territories"),
("pt", "Portugal"),
("pw", "Palau"),
("py", "Paraguay"),
("qa", "Qatar"),
("re", "Reunion Island"),
("ro", "Romania"),
("ru", "Russian Federation"),
("rw", "Rwanda"),
("sa", "Saudi Arabia"),
("sb", "Solomon Islands"),
("sc", "Seychelles"),
("sd", "Sudan"),
("se", "Sweden"),
("sg", "Singapore"),
("sh", "St. Helena"),
("si", "Slovenia"),
("sj", "Svalbard and Jan Mayen Islands"),
("sk", "Slovak Republic"),
("sl", "Sierra Leone"),
("sm", "San Marino"),
("sn", "Senegal"),
("so", "Somalia"),
("sr", "Suriname"),
("st", "Sao Tome and Principe"),
("sv", "El Salvador"),
("sy", "Syrian Arab Republic"),
("sz", "Swaziland"),
("tc", "Turks and Caicos Islands"),
("td", "Chad"),
("tf", "French Southern Territories"),
("tg", "Togo"),
("th", "Thailand"),
("tj", "Tajikistan"),
("tk", "Tokelau"),
("tm", "Turkmenistan"),
("tn", "Tunisia"),
("to", "Tonga"),
("tp", "East Timor"),
("tr", "Turkey"),
("tt", "Trinidad and Tobago"),
("tv", "Tuvalu"),
("tw", "Taiwan"),
("tz", "Tanzania"),
("ua", "Ukraine"),
("ug", "Uganda"),
("uk", "United Kingdom"),
("um", "US Minor Outlying Islands"),
("us", "United States"),
("uy", "Uruguay"),
("uz", "Uzbekistan"),
("va", "Holy See (City Vatican State)"),
("vc", "Saint Vincent and the Grenadines"),
("ve", "Venezuela"),
("vg", "Virgin Islands (British)"),
("vi", "Virgin Islands (USA)"),
("vn", "Vietnam"),
("vu", "Vanuatu"),
("wf", "Wallis and Futuna Islands"),
("ws", "Western Samoa"),
("ye", "Yemen"),
("yt", "Mayotte"),
("yu", "Yugoslavia"),
("za", "South Africa"),
("zm", "Zambia"),
("zw", "Zimbabwe"))

      

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.