Tamil in Python3

Greeting Frineds,

I am very happy to work in tamil in python3. We can use any unicode

language to declare class name, variable name, and bla bal bla ... 
:-)

class வணக்கம்:
     def காஞ்சி(self):
          print("hai" )
          print ("welcome") #" உங்களை வரவேற்கிறது "

     def உதாரணம்(self):
          print( "Python இல் தமிழில் இவ்வாறு variable, class name
               அக பயன் படுத்திக்கொள்ளலாம் ")

     def பணம் (self):
              நாணயம் = 50
              ருபாய் = 20
              #நாணயம் = "50  பைசா "
              #ருபாய் = "20 ருபாய் "
              மொ=input('Enter something')
              மொத்தம்= நாணயம்+ருபாய்
              print ("மொத்த மதிப்பு  %s"% (மொத்தம்))
              print ("%s" % (மொ))

பொருள் = வணக்கம்()
பொருள்.காஞ்சி()
பொருள்.உதாரணம்()
பொருள்.பணம்()

Oops ! Here is the Malayalam in python3.


class പക്ഷി:

    def __init__(self):
       """
       ക്ലാസ് ഇനിഷ്യലൈസേഷന്‍
       """
       self.വിവിധ = ['കാക്ക','പ്രാവ്','കുരുവി','തത്ത','മൈന','പരുന്ത്','മൂങ്ങ']

    def പറക്കുക(self, ഇനം):
     """
     പറക്കുമോന്ന് നോക്കാല്ലോ!!!!!!!!!!!
     """
     if ഇനം in self.വിവിധ:
         print("%s പറക്കുന്ന പക്ഷിയാണ്" % ഇനം)
     else:
         print("എനിക്കറിയാമ്മേലേ!!!!!!")

if __name__ == "__main__":
 സൂചകം = പക്ഷി()
 പറവ = "കാക്ക"
 മൃഗം = "ആന"
 സൂചകം.പറക്കുക(പറവ)
 സൂചകം.പറക്കുക(മൃഗം)

அருளாளன்.த

About arulalant

Currently working as "Project Scientist – C" in National Centre for Medium Range Weather Forecasting (NCMRWF), MoES, Noida, India
This entry was posted in Python, Tamil. Bookmark the permalink.

10 Responses to Tamil in Python3

  1. Sudharsan says:

    gr8 dude
    tamilan entru sollada thalai nimirnthu nillada

    Like

  2. Pingback: Writing code in Tamil « Going GNU

  3. vaduvurkumar says:

    ஒரு த‌மிழ் “கோடினை” முத‌ன் முத‌லில் பார்க்கிறேன்.
    உபுண்டு ப‌ற்றி த‌மிழில் ப‌ல‌ வ‌லைப்ப‌திவுக‌ள் இருக்கு.

    Like

  4. nanda says:

    Its awesome !!! Cool man ! Yo rock !!

    Like

  5. Vatsala says:

    Hi Arulalan

    Nice blog! 🙂

    Like

  6. Pingback: Boot Camp-1: Day-5 « Selvamani's Blog

  7. Dhanasekaran says:

    Super job man…nice to see code…

    Like

  8. raji says:

    Its so nice to see the code in our mother tongue (tamil)
    This is the first time im seeing the code in tamil.
    Thanks arul 🙂

    Like

  9. Pingback: Boot Camp-1: Day-5 « KanchiLUG

Leave a comment