>
> Use ord(q)
>
> py> help(ord)
> Help on built-in function ord in module __builtin__:
>
> ord(...)
>      ord(c) -> integer
>
>      Return the integer ordinal of a one-character string.
>
> py>
>
> --
> Gabriel Genellina

Thank you Gabriel. It fit's my purpose.

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to