Retrieving int from hex in a file.

Filipe Teixeira filipe.tg at gmail.com
Mon Apr 28 08:54:58 EDT 2008


>
> 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.




More information about the Python-list mailing list