2 ms·
In terms of pure readability I find breaking the list comprehensions helps in more complex cases (and is still valid Python), e.g.: octets = [bbs[i:i+8]
by mfgs 11y ago
In terms of pure readability I find breaking the list comprehensions helps in more complex cases (and is still valid Python), e.g.:
octets = [bbs[i:i+8]
for i in range(0, len(bbs), 8)
if i%2 != 0]