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['Omega'])
u'\u03a9'
unichr(name2codepoint['Lambda'])
u'\u039b'

print u'this is upper case omega: \u03a9, and this is upper case
lambda: \u039b'

See http://www.digitalmediaminute.com/reference/entity/ for entity
names.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to