Nov-07-2022, 11:07 PM
(This post was last modified: Nov-07-2022, 11:07 PM by Pedroski55.)
Thanks!
I didn't try to make a list of itertools.permutations(images,9), but I did run:
So how much memory will an iterator or generator object like that occupy, can you give an indication?
@dean Thanks for the function. It will take me a while to digest!
I didn't try to make a list of itertools.permutations(images,9), but I did run:
for i in perm_set: print(i)After I'd had breakfast it still hadn't finished, so I did ctrl + c. I hadn't looked at how many permutations 9 from 24 gives!
So how much memory will an iterator or generator object like that occupy, can you give an indication?
@dean Thanks for the function. It will take me a while to digest!