[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): [r...@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 -*- #!/usr/bin/python3.1 def শালাম_বল(নাম): কথা = "শালাম {0}। কেমন অাছেন?".format(নাম) print(কথা) অামি = 'রামি' তমি = 'Carl' if __name__ == '__main__': শালাম_বল(অামি) শালাম_বল(তমি) *** Run the file: [r...@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 || _______________________________________________ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers