[Tutor] Converting a string to an integer

Walter Prins wprins at gmail.com
Thu Aug 8 01:51:59 CEST 2013


On 31 July 2013 16:14, Art Bullentini <artb at mail.pyramid.net> wrote:

> I'm trying to convert from a string of digits such as x = [y:y+1] into an
> integer using int(x). the book says I can do this, but I get an error
> message saying no can do. Anybody tell me what's going on?
>
>
Please supply the actual code you've tried and the actual error message
please.

Walter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20130808/95db7692/attachment.html>


More information about the Tutor mailing list