title: How do I pass arguments to a script piped to the Python interpreter on stdin?
body: <p>I'm installing <code>poetry</code> using the <code>get-poetry.py</code> script, and I want to specify the version to install. To install the latest version I do</p>
  <pre><code>GET_POETRY_URL=https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py
  curl -sSL $GET_POETRY_URL | python
  </code></pre>
  <p>The <code>get-poetry.py</code> script takes an argument <code>--version</code>, but how do I pass that through?</p>
  <pre><code>curl -sSL $GET_POETRY_URL | python --version 1.1.4
  </code></pre>
  <p>prints the installed python version, rather than passing the argument through to the <code>get-poetry.py</code> script. I could save the script to a file and call it that way, but I'm doing this in a docker image and I don't want to deal with cleaning it up afterwards.</p>