[Tutor] string to number

alan.gauld@bt.com alan.gauld@bt.com
Wed, 17 Apr 2002 17:51:03 +0100


> it wont let me use INT and the ATOL function keeps comming up 
> as undefined

Python is case sensitive.

try using atol or int instead.

Also you need to use parens as in 

>>> int('57')
57

Alan G