title: How can I import multiple items from a module and rename them in Python?
body: <p>I want to import <code>atan</code> and <code>degree</code> from <code>math</code> and rename them both.</p>
  
  <p>I have tried using this:</p>
  
  <pre><code>from math import atan,degree as t,z
  </code></pre>
  
  <p>But that gives <code>ImportError: cannot import name 'z'</code>.</p>
  
  <p>I did a number of Google searches for "import multiple modules and rename", but all were fruitless. The Python manual hasn't helped - the page on imports doesn't explain this (as far as I can tell).</p>
  
  <p>How can I import multiple items from a module, and rename them?</p>