Differences between revisions 13 and 14
Revision 13 as of 2009-09-10 03:23:21
Size: 3032
Editor: CarlTrachte
Comment: closed formatting on code
Revision 14 as of 2009-09-13 17:31:52
Size: 3092
Editor: c-98-207-174-233
Comment: slight correction to comments
Deletions are marked like this. Additions are marked like this.
Line 40: Line 40:
/* code snippet provided by Rami Chowdhury */ /* code snippet provided by Rami Chowdhury, who apologises for his awful spelling throughout this page */

Links to Python information in Bengali Language

There are some groundrules, some laid down by the site admins, some my suggestions:

1) Pages must be named in ASCII and English (PolishLanguage)

2) Pages must have an explanation in English at the top (Links to Python information in <language X>)

3) (my suggestion) We probably want to limit invites to edit the pages to people we know well, or Pythonistas with a track record. Hopefully this is inclusive enough without opening the site up to a spam flood and vandalismfest.

Where these pages really need help:

1) check links, remove broken ones.

2) add new links that are quality Python information and active.

3) some care for languages that have next to nothing, but do have people in the Python community - even a link to the Wikipedia page for Python, in that language, is a start (Some are pretty complete and of high quality - the Russian language Wikipedia page for Python, for instance, packs a lot in).

বাংলা

http://bn.wikipedia.org/wiki/পাইথন_(প্রোগ্রামিং_ভাষা)

http://code.google.com/p/muktalekhaa/ বাংলা লেখার মুক্ত সফটওয়ার

পাইথন ৩ থেকে, বাংলা শবদ দিয়ে প্রোগ্রাম লেখা জায়:

$ 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। কেমন অাছেন?

ফায়িলে লেখতে, 'utf-8' ব্যবহার করূন:

# -*- coding: utf-8 -*-
#!/usr/bin/python3.1

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

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

if __name__ == '__main__':
   শালাম_বল(অামি)
   শালাম_বল(তমি)

NewLanguagePage

BengaliLanguage (last edited 2012-01-02 16:25:38 by 113)

Unable to edit the page? See the FrontPage for instructions.