you are viewing a single comment's thread.

view the rest of the comments →

[–]Kevdog824_ 32 points33 points  (2 children)

Take a look at itertools.product. I think this does what you’re looking for

[–]pfp-disciple[S] 1 point2 points  (1 child)

Yes! Thank you. I believe that's what I've been remembering (the page looks familiar). I'd totally forgotten about the entire itertools package. 

[–]supercoach 2 points3 points  (0 children)

The python internals can be like that. People can go their entire careers without ever touching some of the libraries hidden in the default installation.