Postgresql Execute Shell Command Python