Postgres Command Line Connect To Db Using Python For Data