Skip to content

Instantly share code, notes, and snippets.

View cjbj's full-sized avatar

Christopher Jones cjbj

View GitHub Profile
import getpass
import os
import traceback
import oracledb
un = ''
cs = ''
pw = getpass.getpass(f'Enter password for {un}: ')
try:
@cjbj
cjbj / parallelselect.py
Last active February 14, 2023 23:02
A sample Python program that reads from an Oracle Database table in parallel threads
# parallelselect.py
#
# [email protected], Feb 2023
#
# This may or may not be faster than a single thread statement that
# reads the whole table.
#
import csv
import os