While fetching data from executed query result . Currently ibm_db supports fetch_row, fetch_tuple, fetch_both, fetch_assoc.All these functions fetches one row at a time. It needs to be looped (while, ...
The script has minimal dependencies (requests and send2trash), so in most environments (e.g. Ubuntu) you can just run the script in your shell: sudo apt install python3-requests python3-send2trash # ...