John wrote:
> Is there any built in function that converts ASCII to integer or vice versa
> in Python?
> 
> Thanks!
> 
> 
You probably should go through the tutorial ASAP that is located here:

http://docs.python.org/tut/


Convert ascii string to integer:

a='1'
b=int(a)

Convert integer to ascii string:

a=1
b=str(a)

or

a=1
b="%i" % a

-Larry Bates

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

Reply via email to