I'm new to Python, coming from Java and C. How can I increment a char? In Java or C, chars and ints are practically interchangeable, and in certain loops, it's very useful to me to be able to do increment chars, and index arrays by chars.
How can I do this in Python? It's bad enough not having a traditional for(;;) looper - is there any way I can achieve what I want to achieve without having to rethink my entire strategy?
for
loop:for i in range(50): do_something_with(i)
. Come on, that's not so bad!! – Rossner[''.join(i) for i in itertools.product(string.ascii_lowercase, repeat=2)]
– Neckcloth