Sample Python Code To Connect To Postgresql Using Python For Automation