Differences between revisions 7 and 8
Revision 7 as of 2009-09-04 02:00:14
Size: 2947
Editor: c-98-207-174-233
Comment: Added correct Wiki link
Revision 8 as of 2009-09-04 02:11:56
Size: 2963
Editor: c-98-207-174-233
Comment: Moved links around, and added explanatory text for the code snippets and links
Deletions are marked like this. Additions are marked like this.
Line 33: Line 33:
/* Bangla-language Wikipedia page for Python */
http://bn.wikipedia.org/wiki/%E0%A6%AA%E0%A6%BE%E0%A6%87%E0%A6%A5%E0%A6%A8_%28%E0%A6%AA%E0%A7%8D%E0%A6%B0%E0%A7%8B%E0%A6%97%E0%A7%8D%E0%A6%B0%E0%A6%BE%E0%A6%AE%E0%A6%BF%E0%A6%82_%E0%A6%AD%E0%A6%BE%E0%A6%B7%E0%A6%BE%29

/* GPL-licensed software written in Python (wxPython) enabling phonetic typing in Bangla with an English keyboard layout */
http://code.google.com/p/muktalekhaa/ বাংলা লেখার মুক্ত সফটওয়ার

Line 34: Line 41:
পাইথন ৩ থেকে, বাংলাতে পৃগৃএম লেখা জায়
{{{
Line 36: Line 44:
Line 62: Line 69:
}}}
Line 63: Line 71:
***
Put it in a file 'salaam.py':
এিটি সুধু ইনটারপৃেটারে নয় - ফায়িলে কাজ করে:
{{{
Line 78: Line 86:

***

Run the file:

$ python3.1 salaam.py

শালাম রামি। কেমন অাছেন?

শালাম Carl। কেমন অাছেন?

***

/* Bangla-language Wikipedia page for Python */
http://bn.wikipedia.org/wiki/%E0%A6%AA%E0%A6%BE%E0%A6%87%E0%A6%A5%E0%A6%A8_%28%E0%A6%AA%E0%A7%8D%E0%A6%B0%E0%A7%8B%E0%A6%97%E0%A7%8D%E0%A6%B0%E0%A6%BE%E0%A6%AE%E0%A6%BF%E0%A6%82_%E0%A6%AD%E0%A6%BE%E0%A6%B7%E0%A6%BE%29

/* GPL-licensed software written in Python (wxPython) enabling phonetic typing in Bangla with an English keyboard layout */
http://code.google.com/p/muktalekhaa/ বাংলা লেখার মুক্ত সফটওয়ার
}}}

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/%E0%A6%AA%E0%A6%BE%E0%A6%87%E0%A6%A5%E0%A6%A8_%28%E0%A6%AA%E0%A7%8D%E0%A6%B0%E0%A7%8B%E0%A6%97%E0%A7%8D%E0%A6%B0%E0%A6%BE%E0%A6%AE%E0%A6%BF%E0%A6%82_%E0%A6%AD%E0%A6%BE%E0%A6%B7%E0%A6%BE%29

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

এিটি সুধু ইনটারপৃেটারে নয় - ফায়িলে কাজ করে:

# -*- 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.