1279
Comment: added categories
|
← Revision 7 as of 2010-01-27 22:37:48 ⇥
1862
removed stub comment
|
Deletions are marked like this. | Additions are marked like this. |
Line 38: | Line 38: |
stub - in work | Shamukhi words courtesy of [[http://incubator.wikimedia.org/wiki/Wp/pas|wikimedia]] {{{#!python # -*- coding: utf-8 -*- # random Punjabi words # Python 3.1, OrderedDict from collections import OrderedDict وکیپیڈیا = OrderedDict() وکیپیڈیا['پنجابی'] = 'some random Punjabi text' وکیپیڈیا['انسائیکلوپیڈیا'] = 'some more random Punjabi text' وکیپیڈیا['اک کھلا '] = 'and yet even more random Punjabi text' for randomword in وکیپیڈیا: print(randomword) print(وکیپیڈیا[randomword]) print('\n') }}} |
Links to Python related information in Western Punjabi
ISO 639-3 Code: pnb
پنجابی
Shamukhi words courtesy of wikimedia
1 # -*- coding: utf-8 -*-
2
3 # random Punjabi words
4 # Python 3.1, OrderedDict
5 from collections import OrderedDict
6 وکیپیڈیا = OrderedDict()
7 وکیپیڈیا['پنجابی'] = 'some random Punjabi text'
8 وکیپیڈیا['انسائیکلوپیڈیا'] = 'some more random Punjabi text'
9 وکیپیڈیا['اک کھلا '] = 'and yet even more random Punjabi text'
10
11 for randomword in وکیپیڈیا:
12 print(randomword)
13 print(وکیپیڈیا[randomword])
14 print('\n')