Skip to content

Instantly share code, notes, and snippets.

@zooyf
Created November 21, 2018 07:33
Show Gist options
  • Save zooyf/7881a6072b17ace0063f2c232e47ac88 to your computer and use it in GitHub Desktop.
Save zooyf/7881a6072b17ace0063f2c232e47ac88 to your computer and use it in GitHub Desktop.
def remove_row(table, row):
tbl = table._tbl
tr = row._tr
tbl.remove(tr)
table = d.tables[0]
row = table.rows[1]
remove_row(table, row)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment