[Tutor] get a character of an ascii-value
Hugo González Monteverde
hugonz-lists at h-lab.net
Wed Mar 29 20:25:41 CEST 2006
Hi,
Python strings are binary strings as they can contain any value,
including 0 (NULL) Depending on the encoding of the string, this may or
may not be printable, and characters over ASCII 127 will mean different
letters and symbols.
Check the docs for strings and encodings:
http://docs.python.org/lib/standard-encodings.html
http://python.active-venture.com/api/stringObjects.html
Hugo
In a
>
> I just got the answer from Pujo. How about r is bigger than 127. How can i get
> the character? For example, r = 191.
>
> Thanks,
> Sophon
> _______________________________________________
> Tutor maillist - Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
>
More information about the Tutor
mailing list