aboutsummaryrefslogtreecommitdiffstats
path: root/python/common.py
blob: 80f5226a46b94b65eef03dff20f5891b8a99f469 (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="192.168.1.108")
cursor = conn.cursor()