Char to ASCII and back ?

Jean-Paul Roy roy at unice.fr
Fri Apr 25 05:40:06 EDT 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