next_cell method

next_cell

Gets next cell to be saved.

Returns

column index of the next cell to be saved. -1 means the end of current row data has been reached and no further cell of current row to be saved.

def next_cell(self):
    ...

Remarks

It will be called at the beginning of saving one cell.

See Also