Postgresql Execute Shell Command Python 3