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
There is no memory or speed difference (the whole module has to be evaluated either way, because the last line could be Y = something_else). Unless your computer is from the 1980s it doesn't matter anyways.
Y = something_else