I sometimes have this:
i = 0
while condition:
    ...
    i += 1
Here is an example situation: Create file but if name exists add number.
I don't know any option to do another way (except those discussed in Using enumerate function in while loops), but usually Python always has some syntactic sugar to avoid the manual "i = 0, ..., i += 1 pattern".
Is there an alternative in newest versions of Python? Something like (pseudo-code):
for i in enumerate(while(condition)):
    ...
