My script is connecting to a MS Access Database using $objRecordSet / Microsoft.Jet.OLEDB.4.0. And then deleting something with SQL command.
This question already has answers here: Get index when looping through one column of pandas (2 answers)