Dumb noob q: ASCII value of a character
shoot at the.moon
Thu Feb 26 19:27:34 CET 2004
How can I get the ASCII value of a character, e.g. I have:
str = "A B"
for index in range(0, len(str)):
value = WHAT_GOES_HERE?(str[index])
and I hope to get:
I know the characters will be printable ASCII.
But how do I get those ASCII character values from the characters???
I can't seem to find it in the library reference
More information about the Python-list