aboutsummaryrefslogtreecommitdiffstats
path: root/python/common.py
blob: a194b09bd5850a8595144862765b7b1be86ef8af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
import os
import psycopg2

if os.name =='nt':
    root = "//WDsentinel/share/CorpCDOs"
elif os.name == 'posix':
    root = '/home/share/CorpCDOs'

conn = psycopg2.connect(database="ET",
                        user="et_user",
                        password="Serenitas1",
                        host="debian")
cursor = conn.cursor()