title: How to execute a python script form a stored procedure in PostgreSql?
body: <p>I want to execute a python script form a stored procedure in PostgreSql</p>
  
  <p>I want something like this:</p>
  
  <pre><code> CREATE TRIGGER executePython
    AFTER INSERT ON mytable
    FOR EACH ROW
    BEGIN
    SYSTEM('python MyApp');
    END;
  </code></pre>
  
  <p>Anyone can help me, please?</p>