I was always confused between the subtleties of
import X
from X import *
import X as Y
__import__("X")
This (by effbot) is a nice link which explains the intricacies.
import X
from X import *
import X as Y
__import__("X")
This (by effbot) is a nice link which explains the intricacies.
No comments:
Post a Comment