Would you consider the following piece of code to be Pythonic?
imageCount = 0
for imageObject in imageObjects:
imageCount += 1Me, I'd try len(imageObjects).
···
On Wed, Mar 8, 2017 at 5:21 PM, Boštjan Mejak <bostjan.xperia@gmail.com> wrote:
Would you consider the following piece of code to be Pythonic?
imageCount = 0
for imageObject in imageObjects:
imageCount += 1Me, I'd try len(imageObjects).
On Wed, Mar 8, 2017 at 5:21 PM, Boštjan Mejak <bostjan.xperia@gmail.com> wrote: