[Inpycon] [x-post] Language Pages on the wiki

vid vid at svaksha.com
Thu Oct 8 05:43:14 CEST 2009

[x-posted to bangpypers and inpycon]

Hi Folks,

http://wiki.python.org/moin/NewLanguagePage , has a collection of
various language pages for Python.

Please provide links to any Python related article/tutorial in your
native language and feel free to create a new page if your language is
not listed there. The German language page is a good yardstick for
acceptable python content : http://wiki.python.org/moin/GermanLanguage

Alternatively, for your native language, please use Rami's code snippet :

(using KDE 4.3.0's Konsole):
[rami at tigris ~]$ python3.1
Python 3.1 (r31:73572, Aug 10 2009, 18:55:18)
[GCC 4.3.2 20081105 (Red Hat 4.3.2-7)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> def শালাম_বল(নাম):
...     কথা = "শালাম {0}। কেমন অাছেন?".format(নাম)
...     print(কথা)
>>> অামি = 'রামি'
>>> শালাম_বল(অামি)
শালাম রামি। কেমন অাছেন?
>>> তমি = 'Carl'
>>> শালাম_বল(তমি)
শালাম Carl। কেমন অাছেন?

Put it in a file 'salaam.py':
# -*- coding: utf-8 -*-

def শালাম_বল(নাম):
   কথা = "শালাম {0}। কেমন অাছেন?".format(নাম)

অামি = 'রামি'
তমি = 'Carl'

if __name__ == '__main__':


Run the file:
[rami at tigris ~]$ python3.1 salaam.py
শালাম রামি। কেমন অাছেন?
শালাম Carl। কেমন অাছেন?

|| vid | http://vid.svaksha.com ||
|| you are what your deepest desire is |  as you desire, so is your
intention | as your intention, so is your will | as is your will, so
is your deed | as is your deed, so is your destiny || ~ upanishads ||

More information about the Inpycon mailing list