This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import board | |
import displayio | |
import terminalio | |
import microcontroller | |
from adafruit_display_text import label | |
from adafruit_display_shapes.rect import Rect | |
import struct | |
# Release any previously configured displays | |
displayio.release_displays() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
python.exe pyod 1960-7824 ENTER SQLSetEnvAttr | |
SQLHENV 0x0000000000000000 | |
SQLINTEGER 201 <SQL_ATTR_CONNECTION_POOLING> | |
SQLPOINTER 2 <SQL_CP_ONE_PER_HENV> | |
SQLINTEGER 4 | |
python.exe pyod 1960-7824 EXIT SQLSetEnvAttr with return code 0 (SQL_SUCCESS) | |
SQLHENV 0x0000000000000000 | |
SQLINTEGER 201 <SQL_ATTR_CONNECTION_POOLING> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Python 2.7.12 |Anaconda 4.1.1 (64-bit)| (default, Jun 29 2016, 11:07:13) [MSC v.1500 64 bit (AMD64)] | |
import pyodbc | |
import traceback | |
import sys | |
assert pyodbc.version == '4.0.22' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pyodbc | |
import traceback | |
import sys | |
assert pyodbc.version == '4.0.22' | |
stmt = 'INSERT INTO test_insert (id,id2,id3,id4,val,id5,id6,id7,id8) VALUES (?,?,?,?,?,?,?,?,?)' | |
conn = pyodbc.connect( | |
r'DRIVER={SQL Server Native Client 11.0};' |