title: Short circuit evaluation assignment in python?
body: <p>Ruby supports this:</p>
  
  <pre><code>name = name || "default"
  </code></pre>
  
  <p>If I try it in python: </p>
  
  <pre><code>name = name or "default"
  </code></pre>
  
  <p>Interpreter reports:</p>
  
  <pre><code>NameError: name 'name' is not defined
  </code></pre>
  
  <p>What is the equivalent of the short circuit evaluation assignment in python?</p>