Char to ASCII and back ?

Jean-Paul Roy roy at unice.fr
Fri Apr 25 11:40:06 CEST 2003


How do you transform a char (or a one-char string) into the integer 
ascii code and back ? Say to code a message.
The string type is not mutable in Python. Is there something like the 
StringBuffer class in Python whose instances would be mutable ?

Sorry, I'm just beginning in Python...

Thanks,

   -jpr




More information about the Python-list mailing list