Почему получаю Too many values to unpack (expected 1) в своей функции?
Есть функция: import pyodbc def foo (conn): try: str_error = '' conn.autocommit = True cursor = conn.cursor() cursor.execute("select 1") except Exception as error: print…