Hi, Thanks for the pylint. I think I found a bug. The line for i in seq: var[i] = True fires E0601: Using variable 'i' before assigment. var and seq are defined. Thanks, Mike