'Do I need to use a separate cursor for each query in Python/MySQLdb?
In my Python3 script I use MySQLdb which I believe conforms to the Python DB API. However, it's not clear to me from the specification if a single Cursor object can be used for fetching results from multiple queries (executed in turn) or I need to create a new one for each query. Also, when/why should I ever call Cursor.close() ?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
