title: Python import X or from X import Y? (performance)
body: <p>If there is a library from which I'm going to use at least two methods, is there any difference in performance or memory usage between the following?</p>
  
  <pre><code>from X import method1, method2
  </code></pre>
  
  <p>and </p>
  
  <pre><code>import X
  </code></pre>