Pg Execute Command In Python