[Tutor] Converting a string to an integer

Art Bullentini artb at mail.pyramid.net
Wed Jul 31 17:14:45 CEST 2013


This message was originally HTML formatted.  View in a HTML capable client to see the original version.\r\n\r\nI'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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20130731/d0973606/attachment-0001.html>


More information about the Tutor mailing list