Loading

Python 3.1 In Myanmar Names

Python 3.1 in Myanmar, its Implemented Unicode.org based.

# I found that, to works properly Zawgyi and Ayar, I Need to compile Python Myself. 
I will do soon though.

Python 3.1.1 (r311:74483, Aug 17 2009, 17:02:12) [MSC v.1500 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.
>>> def ​နွု​တ္​ဆ​က္​စ​ကား_​ေျ​ပာျ​ခ​င္း(​နာ​မ​ည္):
​စ​ကား = "​မ​ဂဿ​င​လာ​ပါ {0}။ ​ေ​န​ေ​ကာ​င္း​လား?".format(​နာ​မ​ည္)
print(​စ​ကား)

>>> ​နွု​တ္​ဆ​က္​စ​ကား_​ေျ​ပာျ​ခ​င္း("​ေ​မာ​င္​ေ​မာ​င္")
​မ​ဂဿ​င​လာ​ပါ ​ေ​မာ​င္​ေ​မာ​င္။ ​ေ​န​ေ​ကာ​င္း​လား?
>>>
>>>

-----

Python Code

def ​နွု​တ္​ဆ​က္​စ​ကား_​ေျ​ပာျ​ခ​င္း(​နာ​မ​ည္):
    ​စ​ကား = "​မ​ဂဿ​င​လာ​ပါ {0}။ ​ေ​န​ေ​ကာ​င္း​လား?".format(​နာ​မ​ည္)
    print(​စ​ကား)

​နွု​တ္​ဆ​က္​စ​ကား_​ေျ​ပာျ​ခ​င္း("​ေ​မာ​င္​ေ​မာ​င္")

----

Cheers,
Mark

4 comments:

Unknown said...

Bro, can't write Myanmar fonts on Python, what should I do? any advice! If my question is too early, sorry for that. <<< :)

Regards,
ST

Ko Ko Ye` said...

​ေ​ဇာ္​ဂ်ီ​နဲ့​ပဲ​လား​ဗ်၊ :)
​ေ​တာ္​ေ​တာ္​ေ​လး​ေ​ကာ​င္း​လာျ​ပီ ျ​မ​န္​မာ​စာ​အ​တြ​က္

​မာ့​ခ္ said...

>> can't write Myanmar fonts on Python

hi bro, you need to copy paste myanmar text to IDLE 3.1 and set IDLE font setting to Zawgyi

​မာ့​ခ္ said...

>> ​ေ​ဇာ္​​ဂ်ီ​နဲ့​ပဲ​လား​ဗ်၊ :)
​​ေ​တာ္​​ေ​တာ္​​ေ​လး​​ေ​ကာ​င္း​လာျ​ပီ ျ​မ​န္​​မာ​စာ​အ​တြ​က္

hi bro, there is some issue with zawgyi and ayar, because its seems based on unicode.org.

mark

က်ေနာ္ဖတ္ေသာ အျခား ဘေလာ့ / ဆိုဒ္မ်ား