This file contains hidden or 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 psycopg2 # import PostgreSQL database interface library. | |
import traceback | |
import sys | |
# Add PYTHONPATH, then we may import all the objects below this folder. | |
sys.path.insert(0,"/Users/charliezhu/git/bi-cloud/etl") | |
# import tool to parse .ini configuration file. | |
# See below link for the explaination and examples: | |
# http://www.postgresqltutorial.com/postgresql-python/connect/ |