Elixir call python by ports

Here’s the simplest example I can think of which works on my machine:

iex(1)> Port.open({:spawn, ~s/python -c 'print("Hello World!")'/}, [:binary])
#Port<0.5>

iex(2)> flush
{#Port<0.5>, {:data, "Hello World!\n"}}