While printing the results of the search cursor, I kept receiving
an error from the POP_2000 field. The value of the field is an integer and the
code I was using required a string. I tried putting the code in quotes, but that just returned the code and not the value desired. I took a brief break and realized that I needed to turn the value into a string by placing the code within the str() function. This fix was a simple one, yet it was the only part of the lab that I struggled with.
No comments:
Post a Comment