1265
Comment: added lang code + category
|
2053
added code snippet
|
Deletions are marked like this. | Additions are marked like this. |
Line 33: | Line 33: |
Punjabi in code snippet courtesy of sarwara - Sikh blogger and moderator of [[http://www.phrasebase.com/forum/members/s/sarwara.php|phrasebase.com]] {{{# -*- coding: utf-8 -*- # python 3.0 or 3.1 ਪੰਜਾਬੀ1 = 'ਮੈਂ ਨਿੱਕੀ ਉਮਰੇ' ਪੰਜਾਬੀ2 = 'ਸਾਰਾ ਦਰਦ ਹੰਡਾ ਬੈਠਾ' ਪੰਜਾਬੀ3 = 'ਸਾਡੀ ਜੋਬਨ ਰੁੱਤ ਲਈ' ਪੰਜਾਬੀ4 = 'ਦਰਦ ਕੁਵਾਰਾ ਹੋਰ ਦਿਉ' # easier to do this with list # use of dictionary to illustrate keys and Punjabi identifiers ਸਿ਼ਵ = {1:ਪੰਜਾਬੀ1, 2:ਪੰਜਾਬੀ2, 3:ਪੰਜਾਬੀ3, 4:ਪੰਜਾਬੀ4} for numx in range(4): print(ਸਿ਼ਵ[numx + 1]) }}} |
Links to Python information in Punjabi Language here.
ISO 639-1 Code: pa
ਪੰਜਾਬੀ
Punjabi in code snippet courtesy of sarwara - Sikh blogger and moderator of phrasebase.com
{{{# -*- coding: utf-8 -*- # python 3.0 or 3.1
ਪੰਜਾਬੀ1 = 'ਮੈਂ ਨਿੱਕੀ ਉਮਰੇ' ਪੰਜਾਬੀ2 = 'ਸਾਰਾ ਦਰਦ ਹੰਡਾ ਬੈਠਾ' ਪੰਜਾਬੀ3 = 'ਸਾਡੀ ਜੋਬਨ ਰੁੱਤ ਲਈ' ਪੰਜਾਬੀ4 = 'ਦਰਦ ਕੁਵਾਰਾ ਹੋਰ ਦਿਉ'
# easier to do this with list # use of dictionary to illustrate keys and Punjabi identifiers ਸਿ਼ਵ = {1:ਪੰਜਾਬੀ1,
- 2:ਪੰਜਾਬੀ2, 3:ਪੰਜਾਬੀ3, 4:ਪੰਜਾਬੀ4}
for numx in range(4):
- print(ਸਿ਼ਵ[numx + 1])
}}}