Keo Sophon wrote: > Hi all, > > I wonder how to get a character of an Ascii-value. For example, i have r = > 37. So i wanna print the character of 37. Is there any function? > Hi ..yeah, it's called chr(), and its opposite is ord()
>>> ord('r')
114
>>> chr(114)
'r'
>>>
Hugo
_______________________________________________
Tutor maillist - [email protected]
http://mail.python.org/mailman/listinfo/tutor
