Python import X or from X import Y? (performance)

Viewed 13147

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?

from X import method1, method2

and

import X
4 Answers
Related