Gabriel Genellina wrote:
En Thu, 12 Mar 2009 09:27:35 -0200, alex goretoy <[email protected]> escribió:note i would still like to be able to do __import__("sys")."path"p = __import__("sys").path That's a convoluted way of doing: import sys p = sys.path (except that the latter one inserts "sys" in the current namespace)
That's a convoluted way of doing: from path import sys (except that the latter one doesn't insert sys in the current namespace) -- http://mail.python.org/mailman/listinfo/python-list
