I am a new baby to postgresql and I just have a chance to practice psycopg2. This is the code I used for psycopg2 to connect to the db somewhere (I don\'t know)