I am using PyODBC to back up my database, using following code:
SQL_command = """ BACKUP DATABASE [MyDatabase]
By default all pyodbc connections start with a transaction.
You need to turn autocommit on - using the autocommit keyword to the connect function:
conn.autocommit = true