# Using Transaction - Connector/Python
+ Connector/Python disables autocommit by default
+ Using `try-except`
  + `try`
    + Execute `DML`
    + `commit`
  + `except`
    + `try`
      + Failed to process commit
      + `rollback`
    + `except`
      + Failed to process rollback
-------------------------------------------------------------
In the example in the slide:

Connector/Python disables autocommit by default, so there is no need to explicitly start a transaction. Autocommit can be enabled by passing autocommit=true to the connect() method when initially establishing the connection. If autocommit is enabled, you must start a transaction using conn.start_transaction().
