Sep-24-2019, 06:50 PM
thank you. that has worked. I am trying to follow an exercises from a book called Automate The Boring Stuff and although i am following the code accurately it is coming up with errors such as the above. For example yesterday i typed;
i received the correction here on this forum.
is it possible there has been many updates to python since the book was written?
>>> 'Row ' +str(c.row)+', Column ' + c.column + ' is ' + c.value Traceback (most recent call last): File "<pyshell#67>", line 1, in <module> 'Row ' +str(c.row)+', Column ' + c.column + ' is ' + c.value TypeError: can only concatenate str (not "int") to strwhich was exactly as the book stated,when it should have been;
>>> 'Row ' + str(c.row) + ',Column ' + str(c.column) + ' is ' + c.value 'Row 1,Column 2 is Apples'
i received the correction here on this forum.
is it possible there has been many updates to python since the book was written?