Links to Python information in Lao
ISO 639-1 Code: lo
àºàº²àºªàº²àº¥àº²àº§
Phrases taken from laoconnection
Getting Lao words for identifiers (variables) and text:
1 >>> # -*- coding: utf-8 -*-
2 >>> # python 3.0/3.1
3 >>> # having some problems with combination characters rendering correctly
4 >>> # Courier 10 point font at size 14 in idle seems to work best
5 >>>
6 >>> # get 'my name is' phrase from Unicode
7 >>> '\u0E8A\u0EB7\u0EC8\u0E82\u0EAD\u0EC9\u0EA2\u0EC1\u0EA1\u0EC8\u0E99'
8 'àºàº·à»àºàºà»àº¢à»àº¡à»àº'
9 >>> # get 'I am from' phrase from Unicode
10 >>> '\u0E82\u0EC9\u0EAD\u0EA2\u0EA1\u0EB2\u0E88\u0EB2\u0E81'
11 'àºà»àºàº¢àº¡àº²àºàº²àº'
12 >>> # get 'Laos' from Unicode
13 >>> '\u0EA5\u0EB2\u0EA7'
14 'ລາວ'
15 >>> # get 'Canada' from Unicode
16 >>> '\u0E84\u0EB2\u0E99\u0EB2\u0E94\u0EB2'
17 'àºàº²àºàº²àºàº²'
18 >>> # get 'America' from Unicode
19 >>> '\u0EAD\u0EB2\u0EC0\u0EA1\u0EA3\u0EB4\u0E81\u0EB2'
20 'àºàº²à»àº¡àº£àº´àºàº²'
21 >>> # get 'France' from Unicode
22 >>> '\u0E9D\u0EA3\u0EC9\u0EC8\u0E87'
23 'àºàº£à»à»àº'
Using UTF-8 encoded identifiers:
1 # -*- coding: utf-8 -*-
2 # python 3.0/3.1
3
4 # using Lao name Dao (àºàº²àº§) from Wikipedia = star
5 # using àºà»àº·àº (name) from Wikipedia as my variable
6 àºà»àº·àº = ['àºàº²àº§', 'Bob', 'Mary', 'Monique']
7
8 countries = ['ລາວ', 'àºàº²àºàº²àºàº²', 'àºàº²à»àº¡àº£àº´àºàº²', 'àºàº£à»à»àº']
9
10 for àºà»àº·àºx, countryx in zip(àºà»àº·àº, countries):
11 print('\nàºàº·à»àºàºà»àº¢à»àº¡à»àº ' + àºà»àº·àºx)
12 print('àºà»àºàº¢àº¡àº²àºàº²àº ' + countryx + '\n')
