Re: sentance containg the string or symbol Ω

2007-08-23 Thread Bart Ogryczak
On 23 ago, 13:20, yadin <[EMAIL PROTECTED]> wrote: > how can i print a sentance containg the string or symbol Ω in python > and also lambda? Well, you can use this dictionary to find out its unicode code point: from htmlentitydefs import name2codepoint unichr(name2codepoint['

Re: sentance containg the string or symbol Ω

2007-08-23 Thread Peter Otten
Oops, forgot to switch the encoding to utf-8. >>> print u"Ω and also \N{GREEK CAPITAL LETTER LAMDA}" Ω and also Λ Peter -- http://mail.python.org/mailman/listinfo/python-list

Re: sentance containg the string or symbol Ω

2007-08-23 Thread Bill Scherer
yadin wrote: > how can i print a sentance containg the string or symbol Ω in python > and also lambda? > > >>> "Ω" '\xce\xa9' >>> print '\xce\xa9' Ω >>> ...works on my terminal anyway. -- http://mail.python.org/mailman/listinfo/python-list

sentance containg the string or symbol Ω

2007-08-23 Thread yadin
how can i print a sentance containg the string or symbol Ω in python and also lambda? -- http://mail.python.org/mailman/listinfo/python-list