Postgresql Run Python On Terminal