Differences between revisions 11 and 12
Revision 11 as of 2009-09-04 15:48:41
Size: 3088
Editor: custnets-66-43-94-186
Comment:
Revision 12 as of 2009-09-04 15:55:56
Size: 3056
Editor: custnets-66-43-94-186
Comment:
Deletions are marked like this. Additions are marked like this.
Line 71: Line 71:
এিটি সুধু ইনটারপৃেটারে নয় - ফায়িলে কাজ করে: ফায়িলে লেখতে, 'utf-8' ব্যবহার করূন:

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.