Then you will need to construct an iterator.
Not sure what your list comprehension does, its hard to read.
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!
In reply to Re: Python to perl: itertools product to replace a char in string in each possible position
by LanX
in thread Python to perl: itertools product to replace a char in string in each possible position
by danj35
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |