Name

index

Synopsis

                        t.index(i)

Returns the basic form 'L.C' of index i where L and C are decimal string forms of the line and column of i (lines start from 1, columns start from 0).

Get Python in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.