code: def mytrace(cursor, statement, bindings):
      "Called just before executing each statement"
      print("SQL:", statement)
      if bindings:
          print("Bindings:", bindings)
      return True
  
imports: from __future__ import print_function
  import sys
  import os
  import time
  import apsw
  import random
label_desc: Use image node_id 2 for calling a global function with example usage: mytrace(cursor, statement, bindings) and returns: True