Just wondering what happens if a connection is not properly closed in pyodbc.
Also, do i need to close the cursor before the connection?
In my particular use case I included a call to close the connection in a custom DB Class in the .__del__()
method, but do not explicitly call close.
What's best practice?