b[b:] python code example
Example 1: python b before string
# It means it's a byte string.
# Which means it'll just print b'string' if you try to print it out
string = b'Random string'
print(string)
string_without_b = string.decode()
print(string_without_b)
Example 2: [1::2] python
>>> L = range(10)
>>> L[::2]
[0, 2, 4, 6, 8]