On Feb 22, 5:43 pm, "John" <[EMAIL PROTECTED]> wrote:
> Is there any built in function that converts ASCII to integer or vice versa
> in Python?
>
> Thanks!

Try int.
ie.

try:
   int_val = int(str_val)
except ValueError:
   # conversion failed

Keir.

--
Keir Robinson
Sometimes a scream is better than a thesis. (Emerson)


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

Reply via email to