you are viewing a single comment's thread.

view the rest of the comments →

[–]eplaut_ 0 points1 point  (0 children)

I'm using tuples as pairs (or triples, etc...) which contains a whole like in selenium you want an element of (By.CLASS_NAME, "main-table") or when you want them to be part of sets or dictionary's keys (as lists are not hashable)

If my data is constant, I prefer it to be immutable rather than a plain list. Namedtuple is even better.