Postgresql Run Python Program Command Line