---------------------------------------------------------------------
this does a str() conversion in the loop
---------------------------------------------------------------------
for i in range(cells.count()):
if text == str(ID):
break
---------------------------------------------------------
this does one str() conversion before the loop
---------------------------------------------------------
strID = str(ID)
for i in range(cells.count()):
if text == strID:
break
But does CPython interpret the str() conversion away and essentially do
it for me in the first example?
--
https://mail.python.org/mailman/listinfo/python-list