Nov-14-2016, 08:06 AM
(Nov-14-2016, 12:53 AM)thewrongnarwhal Wrote: But how do I create a counter in a loop?
loopcounter=0 while looping: # do loop stuff # ... loopcounter+=1 # increment counter # here the loop had ended print 'Times looped:', loopcounter
Unless noted otherwise, code in my posts should be understood as "coding suggestions", and its use may require more neurones than the two necessary for Ctrl-C/Ctrl-V.
Your one-stop place for all your GIMP needs: gimp-forum.net
Your one-stop place for all your GIMP needs: gimp-forum.net