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['
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
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
how can i print a sentance containg the string or symbol Ω in python
and also lambda?
--
http://mail.python.org/mailman/listinfo/python-list