<human>:  Is there a cleaner way to iterate through all binary 4-tuples?
<bot>: Here is some code to create a list containing a four elements long tuples of permutations of binary values

itertools.product(list(range(2)), repeat=4)

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.