I am basically a PHP programmer, and I'm trying to interpret a simple line in Python:
thekey = data['k'][data['k'].index(':') + 1:]
I am getting confused about the + 1:
. the data['k'].index(':')
in php is array_search
of ':'
, but I am getting confused about the + 1: