Help a lazy developper...

Peter Hansen peter at engcorp.com
Mon Aug 19 07:41:32 EDT 2002


Gillou wrote:
> 
> Has someone a pythonic database (dictionnary or tuple of tuples) of iso code
> (like 'fr', 'us'...) -> country name (in English or French).
> It's a little bit tricky to type and I have little time for this.

http://www.iana.org/cctld/cctld-whois.htm  could help you.

http://www.din.de/gremien/nas/nabd/iso3166ma/codlstp1/index.html has
links to it in English _and_ French.

You should be able to take either of these lists and cut-and-paste
into a text editor with basic keystroke record/replay capability
and make a python module out of it in less than five minutes...

-Peter



More information about the Python-list mailing list